]> git.baikalelectronics.ru Git - kernel.git/commit
net: keep refcount warning in reqsk_free()
authorGuillaume Nault <gnault@redhat.com>
Sat, 9 Mar 2019 09:26:53 +0000 (10:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Mar 2019 03:51:44 +0000 (19:51 -0800)
commit6745b8e7c4326d69581c3cc90f64314201b79d82
tree957e9c90f4b705607037e7f49ab6478c8435f6c1
parente66ba913e185b03b987560e0e5d4013983c1b035
net: keep refcount warning in reqsk_free()

As Eric Dumazet said, "We do not have a way to tell if the req was ever
inserted in a hash table, so better play safe.".
Let's remove this comment, so that nobody will be tempted to drop the
WARN_ON_ONCE() line.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/request_sock.h