]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipv4: fix a bug in ping_err().
authorLi Wei <lw@cn.fujitsu.com>
Thu, 21 Feb 2013 00:09:54 +0000 (00:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 14:32:27 +0000 (06:32 -0800)
commitb18383129b00d2d6aac160f55e27c5ba1cf9d49b
tree7693b980d0bc8675f7195d000649874efe6b49b5
parentbd986521a6e35a301e45d2831501acc172fe2a8f
ipv4: fix a bug in ping_err().

[ Upstream commit b531ed61a2a2a77eeb2f7c88b49aa5ec7d9880d8 ]

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

Signed-off-by: Li Wei <lw@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/ping.c