r8169: Fix rtl8169_rx_interrupt()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 30 Apr 2010 23:20:39 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Apr 2010 23:20:39 +0000 (16:20 -0700)
commit6c3b9d3458a8272f1e4c6aed9e8325136f6380f9
treed13521a00efb89156e86acf9535784c45c4a1c9b
parent6c9ae016a8e2aff931391d3baa9ce6cb0ffa633c
r8169: Fix rtl8169_rx_interrupt()

In case a reset is performed, rtl8169_rx_interrupt() is called from
process context instead of softirq context. Special care must be taken
to call appropriate network core services (netif_rx() instead of
netif_receive_skb()). VLAN handling also corrected.

Reported-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Diagnosed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c