Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17811
b: refs/heads/master
c: 8a4c8a9
h: refs/heads/master
i:
  17809: b04ddee
  17807: 3080dee
v: v3
  • Loading branch information
Bart De Schuymer authored and David S. Miller committed Jan 10, 2006
1 parent 1c1b940 commit 7d66c78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65e480ac551a7d95969aa824f77d7160a74cf08d
refs/heads/master: 8a4c8a96a47c9e2f08156fd9664974df086eed50
3 changes: 3 additions & 0 deletions trunk/net/bridge/netfilter/ebt_ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bridge/ebt_ip.h>
#include <linux/ip.h>
#include <net/ip.h>
#include <linux/in.h>
#include <linux/module.h>

Expand Down Expand Up @@ -51,6 +52,8 @@ static int ebt_filter_ip(const struct sk_buff *skb, const struct net_device *in,
if (!(info->bitmask & EBT_IP_DPORT) &&
!(info->bitmask & EBT_IP_SPORT))
return EBT_MATCH;
if (ntohs(ih->frag_off) & IP_OFFSET)
return EBT_NOMATCH;
pptr = skb_header_pointer(skb, ih->ihl*4,
sizeof(_ports), &_ports);
if (pptr == NULL)
Expand Down

0 comments on commit 7d66c78

Please sign in to comment.