Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178009463
D62080.1795753741.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
504 B
Referenced Files
None
Subscribers
None
D62080.1795753741.diff
View Options
diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c
--- a/sys/netipsec/ipsec_input.c
+++ b/sys/netipsec/ipsec_input.c
@@ -556,8 +556,8 @@
case IPPROTO_ESP:
case IPPROTO_IPCOMP:
/* Do inbound IPsec processing for AH/ESP/IPCOMP */
- ipsec_common_input(m, offset,
- offsetof(struct ip6_hdr, ip6_nxt), AF_INET6, proto);
+ ipsec_common_input(m, offset, ip6_get_prevhdr(m, offset),
+ AF_INET6, proto);
return (EINPROGRESS); /* mbuf consumed by IPsec */
default:
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 27, 4:29 AM (18 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42034483
Default Alt Text
D62080.1795753741.diff (504 B)
Attached To
Mode
D62080: netipsec: Find the next header field of an IPv6 IPsec header
Attached
Detach File
Event Timeline