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: ipv4: current group_info should be put after using.
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
inet_hashtables.c
diff --git
a/net/ipv4/inet_hashtables.c
b/net/ipv4/inet_hashtables.c
index 6af375afeeef1e9706667720fda31c3e57a15d65..c95848d00039ec74a3d70576c885394694fcf31e 100644
(file)
--- a/
net/ipv4/inet_hashtables.c
+++ b/
net/ipv4/inet_hashtables.c
@@
-287,7
+287,7
@@
begintw:
if (unlikely(!INET_TW_MATCH(sk, net, acookie,
saddr, daddr, ports,
dif))) {
-
sock_put(sk
);
+
inet_twsk_put(inet_twsk(sk)
);
goto begintw;
}
goto out;