Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74877
b: refs/heads/master
c: 4a9ecd5
h: refs/heads/master
i:
  74875: 9e872cb
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Dec 14, 2007
1 parent ac38f62 commit 2d02152
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 6f229d76b4c4a7fae601ea9398b23c2b426ab3b9
refs/heads/master: 4a9ecd5960e6a7814f6e3405807d49010ffe3a88
3 changes: 2 additions & 1 deletion trunk/include/linux/netfilter_bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ enum nf_br_hook_priorities {
extern int nf_bridge_copy_header(struct sk_buff *skb);
static inline int nf_bridge_maybe_copy_header(struct sk_buff *skb)
{
if (skb->nf_bridge)
if (skb->nf_bridge &&
skb->nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT))
return nf_bridge_copy_header(skb);
return 0;
}
Expand Down

0 comments on commit 2d02152

Please sign in to comment.