https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207831

--- Comment #13 from Alexander V. Chernikov <[email protected]> ---
I'm sorry for disappearing for several month w/o handling this issue.
Also, many thanks for Guy Yur for analysing the problem - indeed, all
interface/loopback routes are installed w link-level sockaddr_dl "gateway"
(used  solely to save ifnet index of the target interface) and w/o RTF_GATEWAY
flag. I totally forgot this case when making this change.

The problem here is that sockaddr_dl is a pretty big structure (64 bytes vs
32-byte sockaddr_in6) so most of the users (which actually don't care about
these "gateway" would still need to allocate this buffer in order to avoid
receiving ENOMEM). Will think about it a bit and come w/ fix tomorrow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to