From: Eric Dumazet Date: Fri, 26 Dec 2008 00:45:19 +0000 (-0800) Subject: vlan: fix convertion to net_device_ops X-Git-Tag: v2.6.29-rc1~581^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7d1b9f5aafa371d7f51f644aa3c38bc914e9205;p=pandora-kernel.git vlan: fix convertion to net_device_ops commit 656299f706e52e0409733d704c2761f1b12d6954 (vlan: convert to net_device_ops) added a net_device_ops with a NULL ndo_start_xmit field. This gives a crash in dev_hard_start_xmit() Fix it using two net_device_ops structures, one for hwaccel vlan, one for non hwaccel vlan. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed