Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131207
b: refs/heads/master
c: 4906f99
h: refs/heads/master
i:
  131205: 82202f5
  131203: 9c4e250
  131199: 1ad79ab
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Feb 9, 2009
1 parent 1b90de2 commit 14d16c3
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 20461c1740cac5e02733221c9f653098a703f55a
refs/heads/master: 4906f9985e310fc01f956256b0d58ac28b0dcb19
7 changes: 6 additions & 1 deletion trunk/net/bridge/br_forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ static void __br_forward(const struct net_bridge_port *to, struct sk_buff *skb)
{
struct net_device *indev;

if (skb_warn_if_lro(skb)) {
kfree_skb(skb);
return;
}

indev = skb->dev;
skb->dev = to->dev;
skb_forward_csum(skb);
Expand All @@ -89,7 +94,7 @@ void br_deliver(const struct net_bridge_port *to, struct sk_buff *skb)
/* called with rcu_read_lock */
void br_forward(const struct net_bridge_port *to, struct sk_buff *skb)
{
if (!skb_warn_if_lro(skb) && should_deliver(to, skb)) {
if (should_deliver(to, skb)) {
__br_forward(to, skb);
return;
}
Expand Down

0 comments on commit 14d16c3

Please sign in to comment.