]> git.baikalelectronics.ru Git - kernel.git/commit
inet_connection_sock: factor out destroy helper.
authorPaolo Abeni <pabeni@redhat.com>
Fri, 15 May 2020 17:22:16 +0000 (19:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 May 2020 19:30:13 +0000 (12:30 -0700)
commitf9b09db2abe9d267ea8ae83c58d596b80744281c
tree8e6af71a82eb4b86b2b32536435620c79c175525
parent2499f71b56769a7a11e96995d82ffcd74c432331
inet_connection_sock: factor out destroy helper.

Move the steps to prepare an inet_connection_sock for
forced disposal inside a separate helper. No functional
changes inteded, this will just simplify the next patch.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Christoph Paasch <cpaasch@apple.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_connection_sock.h
net/ipv4/inet_connection_sock.c