tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rtsock.c:rt_msg2() appears to be overwriting buffers it does not own



On Fri, Oct 24, 2008 at 02:43:12PM +0000, Christos Zoulas wrote:

> Are you sure it is the routing code? It could be the sysctl_iflist() one too.
> Can you put some more debugging code to verify? I am saying that because
> the sysctl_rtable() is protected with splsoftnet(), but the sysctl_iflist()
> is not, and perhaps it should.

I missed that one, it should be taking softnet_lock (not splsoftnet).

Andrew


Home | Main Index | Thread Index | Old Index