Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158763
b: refs/heads/master
c: 5c91fac
h: refs/heads/master
i:
  158761: 93e1e43
  158759: ff66c47
v: v3
  • Loading branch information
Mark Smith authored and David S. Miller committed Jul 7, 2009
1 parent 07aeeea commit fcb8426
Show file tree
Hide file tree
Showing 2 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: b7cb8c2c8275ab081b97610b13a83c80904571a6
refs/heads/master: 5c91face51d29f553a444d16db4ac2c6162a3cd0
6 changes: 3 additions & 3 deletions trunk/net/ipv6/ip6_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt

if (skb->pkt_type == PACKET_OTHERHOST) {
kfree_skb(skb);
return 0;
return NET_RX_DROP;
}

rcu_read_lock();
Expand Down Expand Up @@ -133,7 +133,7 @@ int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
if (ipv6_parse_hopopts(skb) < 0) {
IP6_INC_STATS_BH(net, idev, IPSTATS_MIB_INHDRERRORS);
rcu_read_unlock();
return 0;
return NET_RX_DROP;
}
}

Expand All @@ -149,7 +149,7 @@ int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt
drop:
rcu_read_unlock();
kfree_skb(skb);
return 0;
return NET_RX_DROP;
}

/*
Expand Down

0 comments on commit fcb8426

Please sign in to comment.