summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-11-19 08:11:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2026-11-19 08:11:44 -0800
commit1e575bda30acc0bf01f799cee798d4a1c100d538 (patch)
tree7f953e6dd94cc183640f624dd5393a3500fdaedd /include/linux
parentf1715c0c04606ebbe832cc760abf49dfd6f2ae1f (diff)
parentb10c986f1769287270de248548476f6dc2275d59 (diff)
Merge tag 'net-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from Paolo Abeni: "Including fixes from netfilter and Bluetooth. Current release - regressions: - ipvs: honor the overload state and do not enter it forever Previous releases - regressions: - core: - prevent receive header offset overflow during decapsulation - avoid truncated transport header offsets - tcp: - fix NULL pointer dereference when restarting a fast open listener - fix the SO_REUSEPORT bind cache admitting a conflicting socket - sctp: do not free a new asoc peeled off while sendmsg slept - bridge: fix skb leak of reinjected link-local frames - bluetooth: - L2CAP: clear the SDU before the receive callback - vhci: serialize packet reception with device creation - ipvs: - avoid stack overflow from recursive connection expiration - fix problems during connection deletion - eth: - virtio_net: check RX buffer length before DMA sync - gve: fix RX page refcount overflow from INT_MAX pagecnt_bias Previous releases - always broken: - core: make room for the tunnel header in skb_segment_list() - eth: - i40e: fix freeing of TX rings on RX allocation failure - stmmac: fix VXLAN over IPv6 with zero UDP checksum" * tag 'net-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (117 commits) net: prevent receive header offset overflow during decapsulation tcp: bound the rto_min of a route in tcp_rto_min() tcp: clamp the samples in tcp_rcv_rtt_update() tcp: reject RTT samples from TSecr above 120 s tcp: clamp RTT samples in tcp_rtt_estimator() tcp: don't let __tcp_set_rto() return 0 net: make room for the tunnel header in skb_segment_list() udp: use skb_set_transport_header_careful() in __udp6_lib_err_encap() sctp: use skb_set_transport_header_careful() in sctp_v6_err() net: openvswitch: use skb_set_transport_header_careful() in parse_ipv6hdr() ipv6: mcast: use skb_set_transport_header_careful() in ipv6_mc_check_exthdrs() ipv6: gro: limit the number of extension headers net: stmmac: dwmac1000: stop hardware from dropping checksum-error packets net: stmmac: dwmac1000: don't discard frames with only a checksum error net: stmmac: honour Rx checksum errors in the AF_XDP zero-copy path veth: wake the peer txq when deleting NAPI veth: wake a stopped peer txq beyond real_num_tx_queues iavf: add missing PTP adjustment callbacks iavf: fix ASQ command buffer leak on init failure iavf: fix QoS capabilities memory leak ...
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h4
-rw-r--r--include/linux/skbuff.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 697fc9387b73..37b6e47c9091 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -12453,8 +12453,8 @@ struct mlx5_ifc_lagc_bits {
u8 reserved_at_18[0x5];
u8 lag_state[0x3];
- u8 reserved_at_20[0xc];
- u8 active_port[0x4];
+ u8 reserved_at_20[0x8];
+ u8 active_port[0x8];
u8 reserved_at_30[0x4];
u8 tx_remap_affinity_2[0x4];
u8 reserved_at_38[0x4];
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 6787fcf6ac3e..adc61f5e3e85 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -268,6 +268,7 @@
SKB_WITH_OVERHEAD((PAGE_SIZE << (ORDER)) - (X))
#define SKB_MAX_HEAD(X) (SKB_MAX_ORDER((X), 0))
#define SKB_MAX_ALLOC (SKB_MAX_ORDER(0, 2))
+#define SKB_MAX_RX_HEADROOM (U16_MAX / 2)
/* return minimum truesize of one skb containing X bytes of data */
#define SKB_TRUESIZE(X) ((X) + \