NetBSD-Bugs archive

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

Re: kern/38791 (routing socket event header not cleared)



Michael van Elst <mlelstv%serpens.de@localhost> writes:
> Let me clarify this: by erasing the message you erase the contents
> of the message that has been copied there two lines above with
> m_copyback().
>
> E.g. in case of RTM_IFINFO messages you overwrite the whole message
> with zeroes and thus break ifwatchd.

I see, I missed that difference between the code documented in
TCP/Illustrated and the NetBSD-current sources.  The original code did
not take the data and datalen parameters, so there was nothing to over-
write.  In the short term, I suggest reverting the change.  I'll take a
second look later this evening.

    --jtc

-- 
J.T. Conklin


Home | Main Index | Thread Index | Old Index