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