]> err.no Git - linux-2.6/commit
[VLAN]: Move protocol determination to seperate function
authorPavel Emelyanov <xemul@openvz.org>
Mon, 21 Jan 2008 08:28:03 +0000 (00:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:35 +0000 (15:08 -0800)
commit91b4f954759653272504c55b715b757207ed1700
treed494866443c2e2d1faf263e0f184b0d6410f3d3d
parent31ffdbcb5989c121f2f81a6b5b20c1c4bb21e5fd
[VLAN]: Move protocol determination to seperate function

I think, that we can make this code flow easier to understand
by introducing the vlan_set_encap_proto() function (I hope the
name is good) to setup the skb proto and merge the paths calling
netif_rx() together.

[Patrick: Modified to apply on top of my previous patches]

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c