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
[NETFILTER]: ip_conntrack_expect_related must not free expectation
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
netfilter
/
ip_nat_ftp.c
diff --git
a/net/ipv4/netfilter/ip_nat_ftp.c
b/net/ipv4/netfilter/ip_nat_ftp.c
index c6000e794ad67ca6089eb7583ae8c81914fbcea6..d83757a70d9f647f2474952c79b424b148d5159a 100644
(file)
--- a/
net/ipv4/netfilter/ip_nat_ftp.c
+++ b/
net/ipv4/netfilter/ip_nat_ftp.c
@@
-143,10
+143,8
@@
static unsigned int ip_nat_ftp(struct sk_buff **pskb,
break;
}
- if (port == 0) {
- ip_conntrack_expect_free(exp);
+ if (port == 0)
return NF_DROP;
- }
if (!mangle[type](pskb, newip, port, matchoff, matchlen, ct, ctinfo,
seq)) {