Thread (3 messages) 3 messages, 2 authors, 2022-07-26

Re: [PATCH net] netrom: fix sleep in atomic context bugs in timer handlers

From: <hidden>
Date: 2022-07-26 03:20:57
Also in: linux-hams, lkml

Hello,

On Mon, 25 Jul 2022 19:49:30 -0700 Jakub Kicinski wrote:
On Sat, 23 Jul 2022 11:56:46 +0800 Duoming Zhou wrote:
quoted
Fixes: eafff86d3bd8 ("[NETROM]: Use kmemdup")
That's not a correct Fixes tag, acme just swapped kmalloc for kmemdup().
The allocate flags did not change.
Thanks for your time and reply!

The correct Fixes tag is "Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")".
The following is the code:

https://elixir.bootlin.com/linux/v2.6.12-rc2/source/net/netrom/nr_route.c#L158

...
if ((nr_neigh->digipeat = kmalloc(sizeof(*ax25_digi), GFP_KERNEL)) == NULL) {
...

Best regards,
Duoming Zhou

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help