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:
142dcdd
)
netfilter: nf_nat_sip: fix mangling
author
Balazs Peter Odor
<
[email protected]
>
Sat, 22 Jun 2013 17:24:43 +0000
(19:24 +0200)
committer
Pablo Neira Ayuso
<
[email protected]
>
Mon, 24 Jun 2013 09:32:40 +0000
(11:32 +0200)
In (
b20ab9c
netfilter: nf_ct_helper: better logging for dropped packets)
there were some missing brackets around the logging information, thus
always returning drop.
Closes https://bugzilla.kernel.org/show_bug.cgi?id=60061
Signed-off-by: Balazs Peter Odor <
[email protected]
>
Signed-off-by: Pablo Neira Ayuso <
[email protected]
>
net/netfilter/nf_nat_sip.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_nat_sip.c
b/net/netfilter/nf_nat_sip.c
index 96ccdf78a29ffafb84c5e1229f33487ec28c1429..dac11f73868e50df4e20add9e754d55629716f25 100644
(file)
--- a/
net/netfilter/nf_nat_sip.c
+++ b/
net/netfilter/nf_nat_sip.c
@@
-230,9
+230,10
@@
static unsigned int nf_nat_sip(struct sk_buff *skb, unsigned int protoff,
&ct->tuplehash[!dir].tuple.src.u3,
false);
if (!mangle_packet(skb, protoff, dataoff, dptr, datalen,
- poff, plen, buffer, buflen))
+ poff, plen, buffer, buflen))
{
nf_ct_helper_log(skb, ct, "cannot mangle received");
return NF_DROP;
+ }
}
/* The rport= parameter (RFC 3581) contains the port number