projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98bf8c
)
net/smc: remove duplicate unhash
author
Ursula Braun
<ubraun@linux.vnet.ibm.com>
Mon, 10 Apr 2017 12:58:03 +0000
(14:58 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 12 Apr 2017 03:01:14 +0000
(23:01 -0400)
unhash is already called in sock_put_work. Remove the second call.
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
patch
|
blob
|
history
diff --git
a/net/smc/af_smc.c
b/net/smc/af_smc.c
index 3b7eda6c27de3521c51cff9364141d62b2baf085..491a8b2b8b89107f016b72958b577cee5acd08ba 100644
(file)
--- a/
net/smc/af_smc.c
+++ b/
net/smc/af_smc.c
@@
-147,7
+147,6
@@
static int smc_release(struct socket *sock)
schedule_delayed_work(&smc->sock_put_work,
SMC_CLOSE_SOCK_PUT_DELAY);
}
- sk->sk_prot->unhash(sk);
release_sock(sk);
sock_put(sk);