aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-12-16 12:30:04 +0900
committerDavid S. Miller <davem@davemloft.net>2015-12-15 23:26:51 -0500
commit6eb5d2e08f071c05ecbe135369c9ad418826cab2 (patch)
tree90fd2b057e3d8abc29a694a9190bcb9765310afc /fs
parentnet: diag: Add the ability to destroy a socket. (diff)
downloadlinux-dev-6eb5d2e08f071c05ecbe135369c9ad418826cab2.tar.xz
linux-dev-6eb5d2e08f071c05ecbe135369c9ad418826cab2.zip
net: diag: Support SOCK_DESTROY for inet sockets.
This passes the SOCK_DESTROY operation to the underlying protocol diag handler, or returns -EOPNOTSUPP if that handler does not define a destroy operation. Most of this patch is just renaming functions. This is not strictly necessary, but it would be fairly counterintuitive to have the code to destroy inet sockets be in a function whose name starts with inet_diag_get. Signed-off-by: Lorenzo Colitti <lorenzo@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions