diff options
author | Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> | 2007-07-14 23:44:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-14 23:44:23 -0400 |
commit | d87d8469e2dd19a3a134b99f78288d41854c614b (patch) | |
tree | c976ea2c818ecfb1fb3b6d96eaa2bd7859c19d09 /net/netfilter | |
parent | 6460d948f3ebf7d5040328a60a0ab7221f69945b (diff) |
[NETFILTER]: nf_conntrack: Increment error count on parsing IPv4 header
Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_conntrack_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index 3d1411012a2c..b730413738a6 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c | |||
@@ -625,6 +625,8 @@ nf_conntrack_in(int pf, unsigned int hooknum, struct sk_buff **pskb) | |||
625 | 625 | ||
626 | if ((ret = l3proto->prepare(pskb, hooknum, &dataoff, &protonum)) <= 0) { | 626 | if ((ret = l3proto->prepare(pskb, hooknum, &dataoff, &protonum)) <= 0) { |
627 | pr_debug("not prepared to track yet or error occured\n"); | 627 | pr_debug("not prepared to track yet or error occured\n"); |
628 | NF_CT_STAT_INC_ATOMIC(error); | ||
629 | NF_CT_STAT_INC_ATOMIC(invalid); | ||
628 | return -ret; | 630 | return -ret; |
629 | } | 631 | } |
630 | 632 | ||