summaryrefslogtreecommitdiffstats
path: root/net/mpls
diff options
context:
space:
mode:
authorRobert Shearman2015-08-03 18:39:20 +0200
committerDavid S. Miller2015-08-04 07:26:13 +0200
commitabf7c1c540f8330fead5d50730d92606dcbe7a7e (patch)
treecee65cce6f018b8d63da4b6531c3885cf1947330 /net/mpls
parentbridge: mdb: fix vlan_enabled access when vlans are not configured (diff)
downloadkernel-qcow2-linux-abf7c1c540f8330fead5d50730d92606dcbe7a7e.tar.gz
kernel-qcow2-linux-abf7c1c540f8330fead5d50730d92606dcbe7a7e.tar.xz
kernel-qcow2-linux-abf7c1c540f8330fead5d50730d92606dcbe7a7e.zip
lwtunnel: set skb protocol and dev
In the locally-generated packet path skb->protocol may not be set and this is required for the lwtunnel encap in order to get the lwtstate. This would otherwise have been set by ip_output or ip6_output so set skb->protocol prior to calling the lwtunnel encap function. Additionally set skb->dev in case it is needed further down the transmit path. Signed-off-by: Robert Shearman <rshearma@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls')
0 files changed, 0 insertions, 0 deletions