ipv4: keep skb->dst around in presence of IP options
authorEric Dumazet <edumazet@google.com>
Tue, 21 Mar 2017 04:23:48 +0000 (21:23 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 4 Apr 2017 21:18:32 +0000 (22:18 +0100)
commit6892986c7db05c281322f1f8870f5a46d4080e99
tree7dc84f45e4e0bc9d76fef6171062a2f0f3384f1a
parenta5d34b6e04704131e0437a8ef995ed716b75b9a0
ipv4: keep skb->dst around in presence of IP options

Upstream commit 34b2cef20f19c87999fff3da4071e66937db9644
("ipv4: keep skb->dst around in presence of IP options") incorrectly
root caused commit d826eb14ecef ("ipv4: PKTINFO doesnt need dst
reference") as bug origin.

This patch should fix the issue for 3.2.xx stable kernels, since IPv4
options seem to get more traction these days, after years of oblivion ;)

Fixes: f84af32cbca70 ("net: ip_queue_rcv_skb() helper"))
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Anarcheuz Fritz <anarcheuz@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/ipv4/ip_sockglue.c