lkml.org 
[lkml]   [2005]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH]The type of inet6_ifinfo_notify event in addrconf_ifdown().
Maybe inet6_ifinfo_notify event type should be RTM_DELLINK in 
addrconf_ifdown().

Signed-off-by: Yan Zheng<yanzheng@21cn.com>

Index: net/ipv6/addrconf.c
------------------------------------------------------------------------
--- linux-2.6.14-rc4-git2/net/ipv6/addrconf.c 2005-10-14
18:28:01.000000000 +0800
+++ linux/net/ipv6/addrconf.c 2005-10-14 18:31:15.000000000 +0800
@@ -2167,7 +2167,7 @@

/* Step 5: netlink notification of this interface */
idev->tstamp = jiffies;
- inet6_ifinfo_notify(RTM_NEWLINK, idev);
+ inet6_ifinfo_notify(RTM_DELLINK, idev);

/* Shot the device (if unregistered) */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-14 12:43    [W:0.118 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site