netpoll: handle vlan tags in netpoll tx and rx path
authorAmerigo Wang <amwang@redhat.com>
Fri, 10 Aug 2012 01:24:49 +0000 (01:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 21:33:32 +0000 (14:33 -0700)
commit689971b44613883ee74ae9c1b31a864aaa3a8e17
tree1c0544b1a44a4ba5f05461c697b565f67121b344
parent6eacf8ad8d01c49b95b994b0bf379db2b5b29460
netpoll: handle vlan tags in netpoll tx and rx path

Without this patch, I can't get netconsole logs remotely over
vlan. The reason is probably we don't handle vlan tags in either
netpoll tx or rx path.

I am not sure if I use these vlan functions correctly, at
least this patch works.

Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: Patrick McHardy <kaber@trash.net>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c