From: Eric Dumazet Date: Mon, 16 Mar 2015 04:12:16 +0000 (-0700) Subject: inet: add proper refcounting to request sock X-Git-Tag: omap-for-v4.2/o2_dc~131^2~232^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13854e5a6046;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed