Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149932303
D4720.id11788.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
469 B
Referenced Files
None
Subscribers
None
D4720.id11788.diff
View Options
Index: sys/net/if_gre.c
===================================================================
--- sys/net/if_gre.c
+++ sys/net/if_gre.c
@@ -715,6 +715,11 @@
opts++;
}
if (flags & GRE_FLAGS_KP) {
+ /*
+ * XXX:The current implementation uses the key only for outgoing
+ * packets. But we can check the key value here, or even in the
+ * encapcheck function.
+ */
key = ntohl(*opts);
hlen += sizeof(uint32_t);
opts++;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 29, 5:07 AM (14 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30511260
Default Alt Text
D4720.id11788.diff (469 B)
Attached To
Mode
D4720: Clean up dead code and fix a warning: unused-but-set-variable spotted by gcc4.9.
Attached
Detach File
Event Timeline
Log In to Comment