]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: prevent buggy hw rx vlan tagging
authorJiri Pirko <jpirko@redhat.com>
Wed, 10 Aug 2011 01:19:48 +0000 (01:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Aug 2011 01:00:33 +0000 (18:00 -0700)
commit74897b00ff523554b77ff3849b4b8542138e0fa6
treea21d8563645cd3c07546f3b36db0a897342a5c36
parent9812c4a43a44c097b5078d5bb708c6063bc92ad3
gianfar: prevent buggy hw rx vlan tagging

On some buggy chips, "vlan tag present" flag is set which causes packet
loss. Fix this by checking if rx vlan accel is enabled in features.

Reported-by: Michael Guntsche <mguntsche@gmail.com>
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c