lkml.org 
[lkml]   [2022]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net] netrom: fix sleep in atomic context bugs in timer handlers
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:
> > 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


\
 
 \ /
  Last update: 2022-07-26 05:21    [W:0.042 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site