Page MenuHomeFreeBSD

D59450.diff
No OneTemporary

D59450.diff

diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -73,14 +73,6 @@
#include <security/mac/mac_framework.h>
-#ifdef TINY_LOMTU
-#define LOMTU (1024+512)
-#elif defined(LARGE_LOMTU)
-#define LOMTU 131072
-#else
-#define LOMTU 16384
-#endif
-
#define LO_CSUM_FEATURES (CSUM_IP | CSUM_IP_TCP | CSUM_IP_UDP | \
CSUM_IP_SCTP)
#define LO_CSUM_FEATURES6 (CSUM_IP6_TCP | CSUM_IP6_UDP | CSUM_IP6_SCTP)
@@ -123,7 +115,7 @@
ifp = if_alloc(IFT_LOOP);
if_initname(ifp, loname, ifd->unit);
- ifp->if_mtu = LOMTU;
+ ifp->if_mtu = IF_MAXMTU;
ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST;
ifp->if_ioctl = loioctl;
ifp->if_output = looutput;

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 9, 9:08 AM (12 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38436215
Default Alt Text
D59450.diff (703 B)

Event Timeline