All of lore.kernel.org
 help / color / mirror / Atom feed
* PIM-SM namespace changes
@ 2009-05-19  5:24 David Miller
  2009-05-20  0:43 ` Tom Goff
  0 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2009-05-19  5:24 UTC (permalink / raw)
  To: thomas.goff; +Cc: netdev


Some bugs to fix before I can apply these Tom.

For one thing, in the IPV4 patch:

 	setup_timer(&ipmr_expire_timer, ipmr_expire_process, 0);
 	err = register_netdevice_notifier(&ip_mr_notifier);
+#ifdef CONFIG_IP_PIMSM_V2
+	if (inet_add_protocol(&pim_protocol, IPPROTO_PIM) < 0) {
+		printk(KERN_ERR "ip_mr_init: can't add PIM protocol\n");
+		err = -EAGAIN;
+	}
+#endif
 	if (err)
 		goto reg_notif_fail;

This adds the protocol even if the notifier registry fails.

It also leaves the notifier registered if the protocol add fails.

Also we need to seriously discuss how now we unconditionally
register the PIM protocols.  Before we had a policy of only
doing so conditionally, and that's a change that needs to
be carefully considered and discussed.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-15 15:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19  5:24 PIM-SM namespace changes David Miller
2009-05-20  0:43 ` Tom Goff
2009-06-01 20:28   ` Tom Goff
2009-06-01 21:24     ` David Miller
2009-06-14 10:17   ` David Miller
2009-06-15 15:58     ` Pavel Emelyanov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.