Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171044254
D59450.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
D59450.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D59450: loopback: set MTU to IF_MAXMTU
Attached
Detach File
Event Timeline
Log In to Comment