summaryrefslogtreecommitdiff
path: root/net/ipv4/ip_input.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-07-21 11:43:55 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-21 20:39:05 +0300
commit773a69d64bf65eb6c212c97e9737963a2cf668fd (patch)
tree2d1f6bbc1cd2d4dce31f1b80d91e0ce7b1339743 /net/ipv4/ip_input.c
parent1d8fff907342d2339796dbd27ea47d0e76a6a2d0 (diff)
downloadlinux-773a69d64bf65eb6c212c97e9737963a2cf668fd.tar.xz
icmp: Don't leak original dst into ip_route_input()
ip_route_input() unconditionally overwrites the dst. Hide the original dst attached to the skb by calling skb_dst_set(skb, NULL) prior to ip_route_input(). Reported-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_input.c')
0 files changed, 0 insertions, 0 deletions