]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: skbuff updates
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 16 Feb 2022 02:10:10 +0000 (02:10 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 16 Feb 2022 02:10:10 +0000 (02:10 +0000)
commit6baea3312d92cd7eb25f5b9e0e474132636f62d9
tree84bc11b9e9eaf68a0cf076a3c318ad332035d28c
parent2e183d999c6033e876602ddbbc5cb538bb41e4b3
LinuxKPI: skbuff updates

Various updates to skbuff for new/updated drivers and some housekeeping:
- update types and struct members, add new (stub) functions
- improve freeing of frags.
- fix an issue with sleeping during alloc for dev_alloc_skb().
- Adjust a KASSERT for skb_reserve() which apparently can be called
  multiple times if no data was put into the skb yet.
- move the sysctl from linux_8022.c (which may be in a different module)
  to linux_skbuff.c so in case we turn debugging on we do not run into
  unresolved symbols.  Rename the sysctl variable to be less conflicting
  and update debugging macros along with that; also add IMPROVE().
- add DDB support to show an skbuff.
- adjust comments/whitespace.

No functional changes intended for iwlwifi.

Sponsored by: The FreeBSD Foundation (partially)
MFC after: 3 days
sys/compat/linuxkpi/common/include/linux/skbuff.h
sys/compat/linuxkpi/common/src/linux_80211.c
sys/compat/linuxkpi/common/src/linux_skbuff.c