Fix panic when handling non-inet arp message introduced in r286825.
Submitted by: delphij
This commit is contained in:
parent
4a99d3f571
commit
0c4210f984
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286869
@ -749,7 +749,6 @@ in_arpinput(struct mbuf *m)
|
||||
}
|
||||
|
||||
if (ifp->if_addrlen != ah->ar_hln) {
|
||||
LLE_WUNLOCK(la);
|
||||
ARP_LOG(LOG_WARNING, "from %*D: addr len: new %d, "
|
||||
"i/f %d (ignored)\n", ifp->if_addrlen,
|
||||
(u_char *) ar_sha(ah), ":", ah->ar_hln,
|
||||
|
Loading…
Reference in New Issue
Block a user