Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299015
b: refs/heads/master
c: 8430eac
h: refs/heads/master
i:
  299013: 7c7813e
  299011: e0eeaf0
  299007: b54b3d7
v: v3
  • Loading branch information
Jozsef Kadlecsik authored and Pablo Neira Ayuso committed Apr 9, 2012
1 parent d0a57e0 commit 296e88d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 95ad2f873d5d404dc9ebc2377de0b762346346c0
refs/heads/master: 8430eac2f6a3c2adce22d490e2ab8bb50d59077a
4 changes: 2 additions & 2 deletions trunk/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ static int ipv4_get_l4proto(const struct sk_buff *skb, unsigned int nhoff,

iph = skb_header_pointer(skb, nhoff, sizeof(_iph), &_iph);
if (iph == NULL)
return -NF_DROP;
return -NF_ACCEPT;

/* Conntrack defragments packets, we might still see fragments
* inside ICMP packets though. */
if (iph->frag_off & htons(IP_OFFSET))
return -NF_DROP;
return -NF_ACCEPT;

*dataoff = nhoff + (iph->ihl << 2);
*protonum = iph->protocol;
Expand Down

0 comments on commit 296e88d

Please sign in to comment.