Date: Wed, 01 Aug 2007 17:14:15 -0700 From: Julian Elischer <julian@elischer.org> To: "Christian S.J. Peron" <csjp@FreeBSD.org> Cc: freebsd-net@freebsd.org, rwatson@freebsd.org Subject: Re: divert and deadlock issues Message-ID: <46B121D7.1080204@elischer.org> In-Reply-To: <20070801222613.GA7689@sub.vaned.net> References: <20070731162515.GA3684@sub> <20070801222613.GA7689@sub.vaned.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Christian S.J. Peron wrote: > Group, > > I've come up with a basic patch, here are the highlights as per our discussion: > > - Check for the presence of socket options, if they are present duplicate > them using m_dup(9) > - Drop the INP/INFO locks after duplication > - Activate ip_output() with the cloned mbuf (for socket options). Also, > set the multicast options to NULL > - Add div_cltoutput() to handle any calls to setsockopt(2) that might be > changing multicast parameters. If we see any multicast parameters, > return EOPNOTSUPP (Operation Not Supported), otherwise wrap the call > into ip_ctloutput() (as it was before). > > One portion that is missing with rwatson's netisr change. I've done some very > basic testing on this end and things appear to work. If this group is OK > with this patch, I would like to forward it off to current@ for some > potential testers and comment. > > Thanks! > > > I like it. > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B121D7.1080204>