Thread (13 messages) flat view 13 messages, 2 authors, 2007-10-19

Re: [PATCH 1/2] Interface group: core (netlink) part

From: Patrick McHardy <hidden>
Date: 2007-10-18 10:22:39
Also in: netfilter-devel

Laszlo Attila Toth wrote:
quoted hunk ↗ jump to hunk
@@ -846,6 +850,12 @@ static int do_setlink(struct net_device *dev, struct ifinfomsg *ifm,
 		write_unlock_bh(&dev_base_lock);
 	}
 
+	if (tb[IFLA_IFGROUP]) {
+		write_lock_bh(&dev_base_lock);
+		dev->ifgroup = nla_get_u32(tb[IFLA_IFGROUP]);
+		write_unlock_bh(&dev_base_lock);
+	}

So no notifications at all? Mhh .. I guess its OK for now, this stuff
needs to be fixed to notify once for all changes anyway.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help