diff options
-rw-r--r-- | net/decnet/dn_dev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 2459a8d236a0..309b2c7a4c6c 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c | |||
@@ -73,7 +73,7 @@ static BLOCKING_NOTIFIER_HEAD(dnaddr_chain); | |||
73 | 73 | ||
74 | static struct dn_dev *dn_dev_create(struct net_device *dev, int *err); | 74 | static struct dn_dev *dn_dev_create(struct net_device *dev, int *err); |
75 | static void dn_dev_delete(struct net_device *dev); | 75 | static void dn_dev_delete(struct net_device *dev); |
76 | static void rtmsg_ifa(int event, struct dn_ifaddr *ifa); | 76 | static void dn_ifaddr_notify(int event, struct dn_ifaddr *ifa); |
77 | 77 | ||
78 | static int dn_eth_up(struct net_device *); | 78 | static int dn_eth_up(struct net_device *); |
79 | static void dn_eth_down(struct net_device *); | 79 | static void dn_eth_down(struct net_device *); |
@@ -440,7 +440,7 @@ static void dn_dev_del_ifa(struct dn_dev *dn_db, struct dn_ifaddr **ifap, int de | |||
440 | } | 440 | } |
441 | } | 441 | } |
442 | 442 | ||
443 | rtmsg_ifa(RTM_DELADDR, ifa1); | 443 | dn_ifaddr_notify(RTM_DELADDR, ifa1); |
444 | blocking_notifier_call_chain(&dnaddr_chain, NETDEV_DOWN, ifa1); | 444 | blocking_notifier_call_chain(&dnaddr_chain, NETDEV_DOWN, ifa1); |
445 | if (destroy) { | 445 | if (destroy) { |
446 | dn_dev_free_ifa(ifa1); | 446 | dn_dev_free_ifa(ifa1); |
@@ -475,7 +475,7 @@ static int dn_dev_insert_ifa(struct dn_dev *dn_db, struct dn_ifaddr *ifa) | |||
475 | ifa->ifa_next = dn_db->ifa_list; | 475 | ifa->ifa_next = dn_db->ifa_list; |
476 | dn_db->ifa_list = ifa; | 476 | dn_db->ifa_list = ifa; |
477 | 477 | ||
478 | rtmsg_ifa(RTM_NEWADDR, ifa); | 478 | dn_ifaddr_notify(RTM_NEWADDR, ifa); |
479 | blocking_notifier_call_chain(&dnaddr_chain, NETDEV_UP, ifa); | 479 | blocking_notifier_call_chain(&dnaddr_chain, NETDEV_UP, ifa); |
480 | 480 | ||
481 | return 0; | 481 | return 0; |
@@ -749,7 +749,7 @@ rtattr_failure: | |||
749 | return -1; | 749 | return -1; |
750 | } | 750 | } |
751 | 751 | ||
752 | static void rtmsg_ifa(int event, struct dn_ifaddr *ifa) | 752 | static void dn_ifaddr_notify(int event, struct dn_ifaddr *ifa) |
753 | { | 753 | { |
754 | struct sk_buff *skb; | 754 | struct sk_buff *skb; |
755 | int err = -ENOBUFS; | 755 | int err = -ENOBUFS; |