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)
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>

No differences found