mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
Revert "sit: reload iphdr in ipip6_rcv"
commitf4eb17e1efupstream. This reverts commitb699d00358. As per Eric Dumazet, the pskb_may_pull() is a NOP in this particular case, so the 'iph' reload is unnecessary. Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Dmitry Tunin <hanipouspilot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f15fa075cd
commit
0b12830665
|
|
@ -692,7 +692,6 @@ static int ipip6_rcv(struct sk_buff *skb)
|
|||
|
||||
if (iptunnel_pull_header(skb, 0, htons(ETH_P_IPV6)))
|
||||
goto out;
|
||||
iph = ip_hdr(skb);
|
||||
|
||||
err = IP_ECN_decapsulate(iph, skb);
|
||||
if (unlikely(err)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user