]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: skbuff.h: fix -Warray-bounds warnings
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 19 Apr 2023 21:37:01 +0000 (21:37 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 19 Apr 2023 21:49:00 +0000 (21:49 +0000)
commitb2dcb848688e1e8346762531208dd7d468ff3854
tree9a05447554c9966d23a246ac9ef30974aaded4fb
parent87f55ab0b46ad72efee11d1b64ec8f839bb013da
LinuxKPI: skbuff.h: fix -Warray-bounds warnings

Harmonize sk_buff_head and sk_buff further and fix -Warray-bounds
warnings reports by gcc.  At the same time simplify some code by
re-using other functions or factoring some code out.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
sys/compat/linuxkpi/common/include/linux/skbuff.h