summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/arc/Makefile
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-25 18:17:29 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-26 01:33:04 +0200
commit0a2fbac197441ebeafbbef09d4bbc0b5e73716d7 (patch)
tree34fe9f625e40bb5f175fcd1ed5af8e72ceb21a87 /drivers/net/ethernet/arc/Makefile
parentnet: sctp: minor: sctp_seq_dump_local_addrs add missing newline (diff)
downloadlinux-0a2fbac197441ebeafbbef09d4bbc0b5e73716d7.tar.xz
linux-0a2fbac197441ebeafbbef09d4bbc0b5e73716d7.zip
net: sctp: decouple cleaning some socket data from endpoint
Rather instead of having the endpoint clean the garbage from the socket, use a sk_destruct handler sctp_destruct_sock(), that does the job for that when there are no more references on the socket. At least do this for our crypto transform through crypto_free_hash() that is allocated when in listening state. Also, perform sctp_put_port() only when sk is valid. At a later point in time we can still determine if there's an option of placing this into sk_prot->unhash() or sctp_endpoint_free() without any races. For now, leave it in sctp_endpoint_destroy() though. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc/Makefile')
0 files changed, 0 insertions, 0 deletions