summaryrefslogtreecommitdiffstats
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-01-21 09:28:03 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:08:35 +0100
commit91b4f954759653272504c55b715b757207ed1700 (patch)
treed494866443c2e2d1faf263e0f184b0d6410f3d3d /drivers/net/macvlan.c
parent[VLAN]: Clean up vlan_skb_recv() (diff)
downloadlinux-91b4f954759653272504c55b715b757207ed1700.tar.xz
linux-91b4f954759653272504c55b715b757207ed1700.zip
[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>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions