Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253884
b: refs/heads/master
c: 00ce2d5
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jun 19, 2011
1 parent 53f1b16 commit 04501f6
Show file tree
Hide file tree
Showing 4 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: 3744100e05c4e403ed21c99cd389c7e784664e4b
refs/heads/master: 00ce2d5614a67521241d024c6e50afe3bd3df049
1 change: 1 addition & 0 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,7 @@ static inline int slave_enable_netpoll(struct slave *slave)
goto out;

np->dev = slave->dev;
strlcpy(np->dev_name, slave->dev->name, IFNAMSIZ);
err = __netpoll_setup(np);
if (err) {
kfree(np);
Expand Down
1 change: 1 addition & 0 deletions trunk/net/bridge/br_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ int br_netpoll_enable(struct net_bridge_port *p)
goto out;

np->dev = p->dev;
strlcpy(np->dev_name, p->dev->name, IFNAMSIZ);

err = __netpoll_setup(np);
if (err) {
Expand Down
4 changes: 1 addition & 3 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1902,9 +1902,7 @@ static int ip_route_input_mc(struct sk_buff *skb, __be32 daddr, __be32 saddr,

hash = rt_hash(daddr, saddr, dev->ifindex, rt_genid(dev_net(dev)));
rth = rt_intern_hash(hash, rth, skb, dev->ifindex);
err = 0;
if (IS_ERR(rth))
err = PTR_ERR(rth);
return IS_ERR(rth) ? PTR_ERR(rth) : 0;

e_nobufs:
return -ENOBUFS;
Expand Down

0 comments on commit 04501f6

Please sign in to comment.