Commit 8044a3d3 authored by Li Wei's avatar Li Wei Committed by Greg Kroah-Hartman
Browse files

ipv4: fix a bug in ping_err().



[ Upstream commit b531ed61 ]

We should get 'type' and 'code' from the outer ICMP header.

Signed-off-by: default avatarLi Wei <lw@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f2913b11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment