]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gianfar: disable vlan tag insertion by default
authorZhu Yanjun <Yanjun.Zhu@windriver.com>
Wed, 15 Oct 2014 08:52:51 +0000 (16:52 +0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 23 Nov 2014 09:55:45 +0000 (10:55 +0100)
commit2143af36b32c5e1abe77dfafb6e0747460ab75e2
tree19d071f2b372827beb90d9dbc82f0be1849dd702
parent0cfd94f0456b86f937cb3b54aa842cda8ecd6bac
gianfar: disable vlan tag insertion by default

2.6.x kernels require a similar logic change as commit 51b8cbfc
[gianfar: fix bug caused by e1653c3e] introduces for newer kernels.

Gianfar driver originally enables vlan tag insertion by default.
This will lead to unusable connections on some configurations.

Since gianfar nic vlan tag insertion is disabled by default and
it is not enabled any longer, it is not necessary to disable it
again.

Reported-by: Xu Jianrong <roy.xu@huawei.com>
Suggested-by: Wang Feng <sky.wangfeng@huawei.com>
Signed-off-by: Zhu Yanjun <Yanjun.Zhu@windriver.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/net/gianfar.c