Re: [PATCH] packet_sendmsg_spkt incorrectly truncates an interface name

From: MAEDA Naoaki
Date: Tue Feb 10 2004 - 02:54:00 EST


Hi,

> > Obviously, max name length of a network interface name is IFNAMESIZ-1,
> > which is 15.
>
> Yes, but sockaddr_pkt.spkt_device[] is only 14 bytes for some reason.

Oops! I have not checked it.
Does anybody know the reason why it is only 14 bytes?

Thanks,
Naoaki
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/