From: Julian Anastasov Date: Tue, 23 Jun 2015 05:34:39 +0000 (+0300) Subject: ip: report the original address of ICMP messages X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b99df4e6256ddafb663c6de0711dceceddfe0e;p=pandora-kernel.git 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 Acked-by: Willem de Bruijn Signed-off-by: David S. Miller --- Reading git-diff-tree failed