commit | f03f2e154f52fdaa982de7e2c386737679963dc9 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Oct 14 11:16:27 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 16 00:52:18 2015 -0700 |
tree | f88db80f207233d0b5eef878687bc032f89f9269 | |
parent | ef84d8ce5a36d0c4a6454e7e9dff54d19f96a25f [diff] |
tcp/dccp: add inet_csk_reqsk_queue_drop_and_put() helper Let's reduce the confusion about inet_csk_reqsk_queue_drop() : In many cases we also need to release reference on request socket, so add a helper to do this, reducing code size and complexity. Fixes: 4bdc3d66147b ("tcp/dccp: fix behavior of stale SYN_RECV request sockets") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>