Files
linux-apfs/net
Eric Dumazet bb52c7acf8 netem: dont call vfree() under spinlock and BH disabled
commit 6373a9a286 (netem: use vmalloc for distribution table) added a
regression, since vfree() is called while holding a spinlock and BH
being disabled.

Fix this by doing the pointers swap in critical section, and freeing
after spinlock release.

Also add __GFP_NOWARN to the kmalloc() try, since we fallback to
vmalloc().

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-24 16:08:50 -05:00
..
2011-12-22 22:34:56 -05:00
2011-12-23 02:15:14 -05:00
2011-11-26 15:49:07 -05:00
2011-12-22 22:34:56 -05:00
2011-12-22 22:34:56 -05:00
2011-10-13 16:05:07 -04:00
2011-11-26 15:57:36 -05:00
2011-09-16 19:20:20 -04:00
2011-12-23 02:15:14 -05:00
2011-11-14 00:10:50 -05:00