Eric Dumazet 13854e5a60 inet: add proper refcounting to request sock
reqsk_put() is the generic function that should be used
to release a refcount (and automatically call reqsk_free())

reqsk_free() might be called if refcount is known to be 0
or undefined.

refcnt is set to one in inet_csk_reqsk_queue_add()

As request socks are not yet in global ehash table,
I added temporary debugging checks in reqsk_put() and reqsk_free()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-16 15:55:29 -04:00
..
2015-03-12 14:39:40 -04:00
2014-09-18 10:54:36 +02:00
2015-03-04 00:23:23 -05:00
2015-03-12 14:39:40 -04:00
2015-03-06 21:50:02 -05:00
2013-11-07 19:28:58 -05:00
2015-03-12 14:39:40 -04:00
2014-09-30 01:02:26 -04:00
2015-03-12 14:39:40 -04:00
2014-06-04 22:46:38 -07:00
2015-01-18 01:56:32 -05:00
2015-03-11 16:22:14 -04:00
2015-03-12 14:39:40 -04:00
2014-01-03 20:56:48 -05:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-01-15 18:26:16 -05:00
2014-06-02 11:00:41 -07:00
2015-03-16 15:55:28 -04:00
2015-03-16 00:14:42 -04:00
2015-03-12 22:58:12 -04:00
2014-05-22 14:57:15 -04:00
2015-03-11 23:05:38 -04:00
2015-03-12 14:39:40 -04:00