diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-12-05 18:13:34 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-12-05 18:13:34 +0000 |
| commit | 47891de1a5ff5c1483294d344e019c3ddc6ccba2 (patch) | |
| tree | a12599e974e2226a762c58d1e4741dd09844b280 /sys/netinet/if_ether.c | |
| parent | 959f4950f57bb55758cf5ccceabfd4eed8739de1 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/if_ether.c')
| -rw-r--r-- | sys/netinet/if_ether.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index b4f5f08c9212..e79fb3d4d059 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -436,8 +436,10 @@ arpresolve(ifp, rt, m, dst, desten, rt0) * Probably should not allocate empty llinfo struct if we are * not going to be sending out an arp request. */ - if (ifp->if_flags & IFF_NOARP) + if (ifp->if_flags & IFF_NOARP) { + m_freem(m); return (0); + } /* * There is an arptab entry, but no ethernet address * response yet. Replace the held mbuf with this |
