Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162867
b: refs/heads/master
c: b11b516
h: refs/heads/master
i:
  162865: a7b8e23
  162863: faec20e
v: v3
  • Loading branch information
Rémi Denis-Courmont authored and David S. Miller committed Sep 15, 2009
1 parent 1e519e8 commit 21f1caa
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 5708e868dc512f055f0ea4a14d01f8252c3ca8a1
refs/heads/master: b11b5165ae7b6506e0e4889b6bf6a11491e1ec6b
9 changes: 8 additions & 1 deletion trunk/net/phonet/pn_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,14 @@ static int phonet_device_autoconf(struct net_device *dev)
SIOCPNGAUTOCONF);
if (ret < 0)
return ret;
return phonet_address_add(dev, req.ifr_phonet_autoconf.device);

ASSERT_RTNL();
ret = phonet_address_add(dev, req.ifr_phonet_autoconf.device);
if (ret)
return ret;
phonet_address_notify(RTM_NEWADDR, dev,
req.ifr_phonet_autoconf.device);
return 0;
}

/* notify Phonet of device events */
Expand Down

0 comments on commit 21f1caa

Please sign in to comment.