summaryrefslogtreecommitdiff
path: root/net/rose/af_rose.c
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2015-06-23 08:34:39 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-24 10:48:08 +0300
commit34b99df4e6256ddafb663c6de0711dceceddfe0e (patch)
tree2b34206c8709e2df08c940a92ff0666d13c75482 /net/rose/af_rose.c
parenta076e6bfe7fe92a3825b3d1448e6f988fd033722 (diff)
downloadlinux-34b99df4e6256ddafb663c6de0711dceceddfe0e.tar.xz
ip: report the original address of ICMP messages
ICMP messages can trigger ICMP and local errors. In this case serr->port is 0 and starting from Linux 4.0 we do not return the original target address to the error queue readers. Add function to define which errors provide addr_offset. With this fix my ping command is not silent anymore. Fixes: c247f0534cc5 ("ip: fix error queue empty skb handling") Signed-off-by: Julian Anastasov <ja@ssi.bg> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rose/af_rose.c')
0 files changed, 0 insertions, 0 deletions