Re: [PATCH net-next] sit: remove unnecessary protocol check in ipip6_tunnel_xmit()

2016-06-09 Thread David Miller
From: Simon Horman Date: Thu, 9 Jun 2016 18:03:34 +0900 > 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 > Reviewed-by: Dinan Gunaward

[PATCH net-next] sit: remove unnecessary protocol check in ipip6_tunnel_xmit()

2016-06-09 Thread Simon Horman
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 Reviewed-by: Dinan Gunawardena --- This patch is targeted at upstream kernel "net-next" as a trivial