]> git.ipfire.org Git - people/ms/linux.git/commit
tcp: fix incorrect LOCKDROPPEDICMPS counter
authorEric Dumazet <edumazet@google.com>
Sat, 19 Jan 2013 16:10:37 +0000 (16:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Feb 2013 18:48:12 +0000 (10:48 -0800)
commit0e3fd03bdeb3cc0ce601723d2406be53b829be25
tree90aaef95e8150619f447294f889b7ab5f00c77c7
parentec9336e3e7dc3f048f2c4d42e1b9851ea3211c35
tcp: fix incorrect LOCKDROPPEDICMPS counter

[ Upstream commit b74aa930ef49a3c0d8e4c1987f89decac768fb2c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp_ipv4.c