projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: diag: Add the ability to destroy a socket.
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
sock.h
diff --git
a/include/net/sock.h
b/include/net/sock.h
index 14d3c07340079b7a3e9de54ee635011589247ffd..2d663ee8494daa5b3d8968542bc014472d361187 100644
(file)
--- a/
include/net/sock.h
+++ b/
include/net/sock.h
@@
-1067,6
+1067,7
@@
struct proto {
void (*destroy_cgroup)(struct mem_cgroup *memcg);
struct cg_proto *(*proto_cgroup)(struct mem_cgroup *memcg);
#endif
+ int (*diag_destroy)(struct sock *sk, int err);
};
int proto_register(struct proto *prot, int alloc_slab);