Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184523
b: refs/heads/master
c: 6e17d45
h: refs/heads/master
i:
  184521: 78cd2f8
  184519: 3ebdbe0
v: v3
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Feb 26, 2010
1 parent 29a9f30 commit 7ba108e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c79c5ffdce14abb4de3878c5aa8c3c6e5093c69b
refs/heads/master: 6e17d45ae310758ab30623a42ad070858c9a48de
2 changes: 2 additions & 0 deletions trunk/net/core/dev_mcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ int dev_mc_add(struct net_device *dev, void *addr, int alen, int glbl)
int err;

netif_addr_lock_bh(dev);
if (alen != dev->addr_len)
return -EINVAL;
err = __dev_addr_add(&dev->mc_list, &dev->mc_count, addr, alen, glbl);
if (!err)
__dev_set_rx_mode(dev);
Expand Down

0 comments on commit 7ba108e

Please sign in to comment.