commit | 91b4f954759653272504c55b715b757207ed1700 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Mon Jan 21 00:28:03 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 15:08:35 2008 -0800 |
tree | d494866443c2e2d1faf263e0f184b0d6410f3d3d | |
parent | 31ffdbcb5989c121f2f81a6b5b20c1c4bb21e5fd [diff] |
[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>