diff options
| author | 2010-09-06 05:02:11 +0200 | |
|---|---|---|
| committer | 2010-09-07 13:57:14 -0700 | |
| commit | c4433be6e19e3680727f3f89c938a22e7b789b43 (patch) | |
| tree | e5c70a0251b2da8112939cd0316061839e3242ef /net/core/dev.c | |
| parent | cls_cgroup: Fix rcu lockdep warning (diff) | |
| download | linux-dev-c4433be6e19e3680727f3f89c938a22e7b789b43.tar.xz linux-dev-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 <peppe.cavallaro@st.com>
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
