summaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorSimon Horman2016-06-09 11:03:34 +0200
committerDavid S. Miller2016-06-09 20:23:37 +0200
commitadba931fbc825efca7c821f0d76baed0a8dc9189 (patch)
tree185fe365282c126fc93d05f5ed3fc463fc86c9b6 /net/ipv6/addrconf.c
parentMerge branch 'cbq-kill-drop' (diff)
downloadkernel-qcow2-linux-adba931fbc825efca7c821f0d76baed0a8dc9189.tar.gz
kernel-qcow2-linux-adba931fbc825efca7c821f0d76baed0a8dc9189.tar.xz
kernel-qcow2-linux-adba931fbc825efca7c821f0d76baed0a8dc9189.zip
sit: remove unnecessary protocol check in ipip6_tunnel_xmit()
ipip6_tunnel_xmit() is called immediately after checking that skb->protocol is htons(ETH_P_IPV6) so there is no need to check it a second time. Found by inspection. Signed-off-by: Simon Horman <simon.horman@netronome.com> Reviewed-by: Dinan Gunawardena <dinan.gunawardena@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions