Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86272
b: refs/heads/master
c: eb1197b
h: refs/heads/master
v: v3
  • Loading branch information
Joonwoo Park authored and David S. Miller committed Feb 20, 2008
1 parent 5f505c2 commit 1e791f8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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: f449b3b54d2263d65a11429050765c325c9809f4
refs/heads/master: eb1197bc0e20d3ceb450883dbd181460252f0306
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 @@ -20,7 +20,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))
if (!skb_make_writable(skb, 0))
return NF_DROP;

memcpy(eth_hdr(skb)->h_dest, info->mac, ETH_ALEN);
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 @@ -21,7 +21,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))
if (!skb_make_writable(skb, 0))
return NF_DROP;

if (hooknr != NF_BR_BROUTING)
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 @@ -22,7 +22,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))
if (!skb_make_writable(skb, 0))
return NF_DROP;

memcpy(eth_hdr(skb)->h_source, info->mac, ETH_ALEN);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/netfilter/arpt_mangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ target(struct sk_buff *skb,
unsigned char *arpptr;
int pln, hln;

if (skb_make_writable(skb, skb->len))
if (!skb_make_writable(skb, skb->len))
return NF_DROP;

arp = arp_hdr(skb);
Expand Down

0 comments on commit 1e791f8

Please sign in to comment.