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

--- Comment #13 from Alexander V. Chernikov <melif...@freebsd.org> ---
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.
_______________________________________________
freebsd-amd64@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"

Reply via email to