Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154486
b: refs/heads/master
c: c7a1a4c
h: refs/heads/master
v: v3
  • Loading branch information
Rémi Denis-Courmont authored and David S. Miller committed Jun 25, 2009
1 parent eac4e8a commit be3e2aa
Show file tree
Hide file tree
Showing 3 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: 11687a1099583273a8a98ec42af62b5bb5a69e45
refs/heads/master: c7a1a4c80f873d5d6ecd173035bb80eba489f380
1 change: 1 addition & 0 deletions trunk/include/net/phonet/pn_dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ int phonet_address_add(struct net_device *dev, u8 addr);
int phonet_address_del(struct net_device *dev, u8 addr);
u8 phonet_address_get(struct net_device *dev, u8 addr);
int phonet_address_lookup(struct net *net, u8 addr);
void phonet_address_notify(int event, struct net_device *dev, u8 addr);

#define PN_NO_ADDR 0xff

Expand Down
4 changes: 2 additions & 2 deletions trunk/net/phonet/pn_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
static int fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr,
u32 pid, u32 seq, int event);

static void rtmsg_notify(int event, struct net_device *dev, u8 addr)
void phonet_address_notify(int event, struct net_device *dev, u8 addr)
{
struct sk_buff *skb;
int err = -ENOBUFS;
Expand Down Expand Up @@ -94,7 +94,7 @@ static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, void *attr)
else
err = phonet_address_del(dev, pnaddr);
if (!err)
rtmsg_notify(nlh->nlmsg_type, dev, pnaddr);
phonet_address_notify(nlh->nlmsg_type, dev, pnaddr);
return err;
}

Expand Down

0 comments on commit be3e2aa

Please sign in to comment.