Subject: [PATCH] nethost ipv4: Only broadcast interface changes to the host they apply to. From: Eric W. Biederman Date: 1133775174 -0700 This is a minor enhancement, and not really useful but it does show that netlink_host_broadcast works and is almost interesting. --- net/ipv4/devinet.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 6685d0b7cb1b5f935e54b06079fdabb2af3b1a2f diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index bebe427..f499f74 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c @@ -1199,7 +1199,8 @@ static void rtmsg_ifa(int event, struct kfree_skb(skb); netlink_set_err(rtnl, 0, RTNLGRP_IPV4_IFADDR, EINVAL); } else { - netlink_broadcast(rtnl, skb, 0, RTNLGRP_IPV4_IFADDR, GFP_KERNEL); + netlink_host_broadcast(rtnl, skb, ifa->ifa_host, 0, + RTNLGRP_IPV4_IFADDR, GFP_KERNEL); } } -- 1.0.GIT