summaryrefslogtreecommitdiff
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>2010-09-06 03:02:11 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-09-07 20:57:14 (GMT)
commitc4433be6e19e3680727f3f89c938a22e7b789b43 (patch)
treee5c70a0251b2da8112939cd0316061839e3242ef /drivers/net/bonding
parent3fb5a991916091a908d53608a5899240039fb51e (diff)
downloadlinux-fsl-qoriq-c4433be6e19e3680727f3f89c938a22e7b789b43.tar.xz
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 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions