]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tcp: fix incorrect LOCKDROPPEDICMPS counter
authorEric Dumazet <edumazet@google.com>
Sat, 19 Jan 2013 16:10:37 +0000 (16:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Jan 2013 22:22:05 +0000 (17:22 -0500)
commitb74aa930ef49a3c0d8e4c1987f89decac768fb2c
treebebdff5c710c40928616f637ebc6ad45344a44e7
parent9a4c831ebbc1bf7cb41079e421a74bddd508f251
tcp: fix incorrect LOCKDROPPEDICMPS counter

commit 563d34d057 (tcp: dont drop MTU reduction indications)
added an error leading to incorrect accounting of
LINUX_MIB_LOCKDROPPEDICMPS

If socket is owned by the user, we want to increment
this SNMP counter, unless the message is a
(ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED) one.

Reported-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c