diff options
author | Eric Dumazet <edumazet@google.com> | 2022-06-23 19:35:40 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-24 22:48:33 -0700 |
commit | 97a4d46b1516250d640c1ae0c9e7129d160d6a1c (patch) | |
tree | b63a5a553ffd089f3c08caad5650ff7673e24d13 /net/unix/sysctl_net_unix.c | |
parent | a69e617e533edddf3fa3123149900f36e0a6dc74 (diff) | |
download | linux-97a4d46b1516250d640c1ae0c9e7129d160d6a1c.tar.gz linux-97a4d46b1516250d640c1ae0c9e7129d160d6a1c.tar.bz2 linux-97a4d46b1516250d640c1ae0c9e7129d160d6a1c.zip |
raw: fix a typo in raw_icmp_error()
I accidentally broke IPv4 traceroute, by swapping iph->saddr
and iph->daddr.
Probably because raw_icmp_error() and raw_v4_input()
use different order for iph->saddr and iph->daddr.
Fixes: ba44f8182ec2 ("raw: use more conventional iterators")
Reported-by: John Sperbeck <jsperbeck@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220623193540.2851799-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions