* [PATCH] test
@ 2025-04-07 18:43 Joshua Hahn
2025-04-07 18:46 ` Joshua Hahn
0 siblings, 1 reply; 4+ messages in thread
From: Joshua Hahn @ 2025-04-07 18:43 UTC (permalink / raw)
To: joshua.hahnjy; +Cc: Andrew Morton, linux-kernel, linux-mm
---
mm/swap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/swap.c b/mm/swap.c
index 10decd9dffa1..9d2d831c018e 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -12,6 +12,7 @@
* Started 18.12.91
* Swap aging added 23.2.95, Stephen Tweedie.
* Buffermem limits added 12.3.98, Rik van Riel.
+ *
*/
#include <linux/mm.h>
base-commit: b8f52214c61a5b99a54168145378e91b40d10c90
--
2.39.5 (Apple Git-154)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] test
2025-04-07 18:43 [PATCH] test Joshua Hahn
@ 2025-04-07 18:46 ` Joshua Hahn
0 siblings, 0 replies; 4+ messages in thread
From: Joshua Hahn @ 2025-04-07 18:46 UTC (permalink / raw)
To: Joshua Hahn; +Cc: Andrew Morton, linux-kernel, linux-mm
On Mon, 7 Apr 2025 14:43:27 -0400 Joshua Hahn <joshua.hahnjy@gmail.com> wrote:
I'm really sorry about this, I was making some changes to my environment.
I saw that there was no To: target but missed that there were still some Cc
targets. I'll be more careful in the future.
Joshua
^ permalink raw reply [flat|nested] 4+ messages in thread
* [patch] test
@ 2024-12-05 9:45 Pei Xiao
0 siblings, 0 replies; 4+ messages in thread
From: Pei Xiao @ 2024-12-05 9:45 UTC (permalink / raw)
To: 6751747b.050a0220.17bd51.0097.GAE, syzbot+479aff51bb361ef5aa18,
6751189a.050a0220.17bd51.0084.gae, linux-kernel, mazin,
syzkaller-bugs
#syz test:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
---
net/bluetooth/mgmt.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index b31192d473d0..bbc86b7dce07 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -5519,8 +5519,12 @@ static void
mgmt_remove_adv_monitor_complete(struct hci_dev *hdev,
{
struct mgmt_rp_remove_adv_monitor rp;
struct mgmt_pending_cmd *cmd = data;
- struct mgmt_cp_remove_adv_monitor *cp = cmd->param;
+ struct mgmt_cp_remove_adv_monitor *cp;
+
+ if (cmd != pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev))
+ return -ECANCELED;
+ cp = cmd->param;
hci_dev_lock(hdev);
rp.monitor_handle = cp->monitor_handle;
@@ -5540,8 +5544,14 @@ static void
mgmt_remove_adv_monitor_complete(struct hci_dev *hdev,
static int mgmt_remove_adv_monitor_sync(struct hci_dev *hdev, void *data)
{
struct mgmt_pending_cmd *cmd = data;
- struct mgmt_cp_remove_adv_monitor *cp = cmd->param;
- u16 handle = __le16_to_cpu(cp->monitor_handle);
+ struct mgmt_cp_remove_adv_monitor *cp;
+ u16 handle;
+
+ if (cmd != pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev))
+ return -ECANCELED;
+
+ cp = cmd->param;
+ handle = __le16_to_cpu(cp->monitor_handle);
if (!handle)
return hci_remove_all_adv_monitor(hdev);
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] test
@ 2024-12-05 9:30 Pei Xiao
0 siblings, 0 replies; 4+ messages in thread
From: Pei Xiao @ 2024-12-05 9:30 UTC (permalink / raw)
To: 6751189a.050a0220.17bd51.0084.GAE, syzbot+479aff51bb361ef5aa18,
linux-kernel, mazin, syzkaller-bugs
#syz test
---
net/bluetooth/mgmt.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index b31192d473d0..bbc86b7dce07 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -5519,8 +5519,12 @@ static void
mgmt_remove_adv_monitor_complete(struct hci_dev *hdev,
{
struct mgmt_rp_remove_adv_monitor rp;
struct mgmt_pending_cmd *cmd = data;
- struct mgmt_cp_remove_adv_monitor *cp = cmd->param;
+ struct mgmt_cp_remove_adv_monitor *cp;
+
+ if (cmd != pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev))
+ return -ECANCELED;
+ cp = cmd->param;
hci_dev_lock(hdev);
rp.monitor_handle = cp->monitor_handle;
@@ -5540,8 +5544,14 @@ static void
mgmt_remove_adv_monitor_complete(struct hci_dev *hdev,
static int mgmt_remove_adv_monitor_sync(struct hci_dev *hdev, void *data)
{
struct mgmt_pending_cmd *cmd = data;
- struct mgmt_cp_remove_adv_monitor *cp = cmd->param;
- u16 handle = __le16_to_cpu(cp->monitor_handle);
+ struct mgmt_cp_remove_adv_monitor *cp;
+ u16 handle;
+
+ if (cmd != pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev))
+ return -ECANCELED;
+
+ cp = cmd->param;
+ handle = __le16_to_cpu(cp->monitor_handle);
if (!handle)
return hci_remove_all_adv_monitor(hdev);
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-04-07 18:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 18:43 [PATCH] test Joshua Hahn
2025-04-07 18:46 ` Joshua Hahn
-- strict thread matches above, loose matches on Subject: below --
2024-12-05 9:45 [patch] test Pei Xiao
2024-12-05 9:30 [PATCH] test Pei Xiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®