diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-01-21 09:28:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 00:08:35 +0100 |
commit | 91b4f954759653272504c55b715b757207ed1700 (patch) | |
tree | d494866443c2e2d1faf263e0f184b0d6410f3d3d /drivers/net/macvlan.c | |
parent | [VLAN]: Clean up vlan_skb_recv() (diff) | |
download | linux-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