Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168549470
D57945.id180932.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
833 B
Referenced Files
None
Subscribers
None
D57945.id180932.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
@@ -81,12 +81,11 @@
#define LOMTU 16384
#endif
-#define LO_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_SCTP)
-#define LO_CSUM_FEATURES6 (CSUM_TCP_IPV6 | CSUM_UDP_IPV6 | CSUM_SCTP_IPV6)
-#define LO_CSUM_SET (CSUM_DATA_VALID | CSUM_DATA_VALID_IPV6 | \
- CSUM_PSEUDO_HDR | \
- CSUM_IP_CHECKED | CSUM_IP_VALID | \
- CSUM_SCTP_VALID)
+#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)
+#define LO_CSUM_SET (CSUM_L3_CALC | CSUM_L3_VALID | \
+ CSUM_L4_CALC | CSUM_L4_VALID)
static int loioctl(struct ifnet *, u_long, caddr_t);
static int looutput(struct ifnet *ifp, struct mbuf *m,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 29, 11:36 PM (7 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34507188
Default Alt Text
D57945.id180932.diff (833 B)
Attached To
Mode
D57945: loopback: use new names for checksum offloading flags
Attached
Detach File
Event Timeline
Log In to Comment