diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2006-01-15 12:06:09 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2006-01-15 12:06:09 +0000 |
| commit | 63e0298298484d4eb6c200364d3201e5028f1666 (patch) | |
| tree | fa9aafda98cee73b5a731e32ec0623be50781fbb /sys/dev/an | |
| parent | a7d46e8cf1771830af731daa60d8f98dc19c7f7a (diff) | |
Notes
Diffstat (limited to 'sys/dev/an')
| -rw-r--r-- | sys/dev/an/if_an.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index cb224922005f..3824913ac0df 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -1034,6 +1034,7 @@ an_rxeof(struct an_softc *sc) /* Check for insane frame length */ len = an_rx_desc.an_len + 12; if (len > MCLBYTES) { + m_freem(m); printf("an%d: oversized packet " "received (%d, %d)\n", sc->an_unit, len, MCLBYTES); |
