Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188157
b: refs/heads/master
c: 8440853
h: refs/heads/master
i:
  188155: 73ef71e
v: v3
  • Loading branch information
YOSHIFUJI Hideaki / 吉藤英明 authored and David S. Miller committed Mar 16, 2010
1 parent 6d27392 commit c42e937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 0ba8c9ec25465cd0680b80c0f5836f558e3b972d
refs/heads/master: 8440853bb70010f2f8edc26cb0f7af60da8b2c5a
5 changes: 3 additions & 2 deletions trunk/net/bridge/br_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br,

err = pskb_trim_rcsum(skb2, len);
if (err)
return err;
goto err_out;
}

len -= ip_hdrlen(skb2);
Expand All @@ -1013,7 +1013,7 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br,
case CHECKSUM_NONE:
skb2->csum = 0;
if (skb_checksum_complete(skb2))
return -EINVAL;
goto out;
}

err = 0;
Expand All @@ -1040,6 +1040,7 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br,

out:
__skb_push(skb2, offset);
err_out:
if (skb2 != skb)
kfree_skb(skb2);
return err;
Expand Down

0 comments on commit c42e937

Please sign in to comment.