arp_req_set() panic with bad ether address

wayne roberts (milcom@netcom.com)
Sun, 1 Sep 1996 18:08:22 -0700 (PDT)


A stupid NT3.51 server is sending a bootps request with a bad
hardware address. I put this bad address in /etc/bootptab, when
bootpd received a request from that address, it caused a kernel
panic. The bad address was two bytes too long.
I've got bootp-2.4.3 and kernel 2.0.16 running.
If i dont have the bad address in bootptab, everything is fine.

The issue would be: should bootpd check hardware addresses before
arp_req_set() in the kernel sees them, or should the kernel arp
functions check for bad ethernet hardware addresses.