aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGiuseppe Cavallaro <[email protected]>2010-09-06 03:02:11 +0000
committerDavid S. Miller <[email protected]>2010-09-07 20:57:14 +0000
commitc4433be6e19e3680727f3f89c938a22e7b789b43 (patch)
treee5c70a0251b2da8112939cd0316061839e3242ef /net/unix/af_unix.c
parentcls_cgroup: Fix rcu lockdep warning (diff)
downloadkernel-c4433be6e19e3680727f3f89c938a22e7b789b43.tar.gz
kernel-c4433be6e19e3680727f3f89c938a22e7b789b43.zip
stmmac: fix sleep inside atomic
We cannot use spinlock when kmalloc is invoked with GFP_KERNEL flag because it can sleep. So this patch reviews the usage of spinlock within the stmmac_resume function avoing this bug. Signed-off-by: Giuseppe Cavallaro <[email protected]> Reported-by: Jiri Slaby <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions