r8169: Fix rtl8169_rx_interrupt()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 31 Mar 2010 02:08:31 +0000 (02:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 01:41:35 +0000 (18:41 -0700)
commit630b943c182d1aed69f244405131902fbcba7ec6
tree8681938a3c4922405e8df6a61b7152bfd1e96ea4
parent5d944c640b4ae5f37c537acf491c2f0eb89fa0d6
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