29/11/2023 03:39, Stephen Hemminger:
> + * Ip header must follow directly after ipsec_encap_pdb
[...]
> +
> + /* ip header if any follows the encap_pdb */
[...]
> + /* ip header if any follows the encap_pdb */
I would change "ip" to "IP".
The zero length ip_header is used as an overlay to the
encap IP header. Since the code is already assuming the layout
of the structure, replace the array with direct access.
Signed-off-by: Stephen Hemminger
Acked-by: Hemant Agrawal
---
drivers/common/dpaax/caamflib/desc/ipsec.h | 20 +++
2 matches
Mail list logo