Page MenuHomeFreeBSD

D8962.id23380.diff
No OneTemporary

D8962.id23380.diff

Index: sys/dev/hyperv/netvsc/if_hn.c
===================================================================
--- sys/dev/hyperv/netvsc/if_hn.c
+++ sys/dev/hyperv/netvsc/if_hn.c
@@ -2129,15 +2129,7 @@
int size, do_lro = 0, do_csum = 1;
int hash_type;
- if (!(ifp->if_drv_flags & IFF_DRV_RUNNING))
- return (0);
-
- /*
- * Bail out if packet contains more data than configured MTU.
- */
- if (dlen > (ifp->if_mtu + ETHER_HDR_LEN)) {
- return (0);
- } else if (dlen <= MHLEN) {
+ if (dlen <= MHLEN) {
m_new = m_gethdr(M_NOWAIT, MT_DATA);
if (m_new == NULL) {
if_inc_counter(ifp, IFCOUNTER_IQDROPS, 1);

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 2, 5:32 AM (10 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30707997
Default Alt Text
D8962.id23380.diff (615 B)

Event Timeline