Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86302
b: refs/heads/master
c: 1b04ab4
h: refs/heads/master
v: v3
  • Loading branch information
Joonwoo Park authored and David S. Miller committed Feb 24, 2008
1 parent d17b0ed commit c381bd2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: 34cc7ba6398203aab4056917fa1e2aa5988487aa
refs/heads/master: 1b04ab4597725f75f94942da9aa40daa7b9a4bd9
2 changes: 1 addition & 1 deletion trunk/net/bridge/netfilter/ebt_dnat.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static int ebt_target_dnat(struct sk_buff *skb, unsigned int hooknr,
const struct ebt_nat_info *info = data;

if (!skb_make_writable(skb, 0))
return NF_DROP;
return EBT_DROP;

memcpy(eth_hdr(skb)->h_dest, info->mac, ETH_ALEN);
return info->target;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bridge/netfilter/ebt_redirect.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static int ebt_target_redirect(struct sk_buff *skb, unsigned int hooknr,
const struct ebt_redirect_info *info = data;

if (!skb_make_writable(skb, 0))
return NF_DROP;
return EBT_DROP;

if (hooknr != NF_BR_BROUTING)
memcpy(eth_hdr(skb)->h_dest,
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bridge/netfilter/ebt_snat.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static int ebt_target_snat(struct sk_buff *skb, unsigned int hooknr,
const struct ebt_nat_info *info = data;

if (!skb_make_writable(skb, 0))
return NF_DROP;
return EBT_DROP;

memcpy(eth_hdr(skb)->h_source, info->mac, ETH_ALEN);
if (!(info->target & NAT_ARP_BIT) &&
Expand Down

0 comments on commit c381bd2

Please sign in to comment.