On 30/10/16(Sun) 02:02, Gregor Best wrote:
> Hi,
>
> On Mon, Jun 06, 2016 at 07:16:20PM +0200, Martin Pieuchot wrote:
> > [...]
> > + if (rt->rt_gateway->sa_family != AF_LINK) {
> > + printf("%s: something odd happens\n", __func__);
> > + m_freem(m);
> > + return (EINVAL);
> > + }
> > [...]
>
> I noticed that since a week or two ago, this printfs gets triggered on
> my laptops and relatively quickly floods my dmesg. One is running a
> snapshot from two weeks ago, the other one runs a snapshot from about a
> month ago. On both, I have IPv6 routes that look like this:
>
> Routing tables
>
> Internet6:
> Destination Gateway Flags
> Refs Use Mtu Prio Iface
[...]
> fd97:1c82:9447::/64 fd97:1c82:9447::1 UCn
> 1 0 - 4 tap0
> fd97:1c82:9447:: fd97:1c82:9447:: UHLc
> 0 7408 - 4 tap0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That's the problem. The entry is flagged as RTF_LLINFO but contains an
IPv6 address.
Do you see any other errors in /log/messages?