netpoll: warning for ndo_start_xmit returns with interrupts enabled
authorDongdong Deng <dongdong.deng@windriver.com>
Fri, 21 Aug 2009 03:33:36 +0000 (03:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Aug 2009 02:50:59 +0000 (19:50 -0700)
commit79b1bee888d43b14cf0c08fb8e5aa6cb161e48f8
tree0b6f33bf7dcf7f87a6a741d3bf9e98e6a1528bb0
parentc189308bd8b6a29b11c3ec29a42a3f0aabad6bc8
netpoll: warning for ndo_start_xmit returns with interrupts enabled

WARN_ONCE for ndo_start_xmit() enable interrupts in netpoll_send_skb(),
because the NETPOLL API requires that interrupts remain disabled in
netpoll_send_skb().

Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c