projects/linux·commit 4f5e5092

Merge tag 'net-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

4f5e5092 · Linus Torvalds <[email protected]> · 2024-02-15 11:39:27 -08:00

Pull networking fixes from Jakub Kicinski:
 "Including fixes from can, wireless and netfilter.

  Current release - regressions:

   - af_unix: fix task hung while purging oob_skb in GC

   - pds_core: do not try to run health-thread in VF path

  Current release - new code bugs:

   - sched: act_mirred: don't zero blockid when net device is being
     deleted

  Previous releases - regressions:

   - netfilter:
      - nat: restore default DNAT behavior
      - nf_tables: fix bidirectional offload, broken when unidirectional
        offload support was added

   - openvswitch: limit the number of recursions from action sets

   - eth: i40e: do not allow untrusted VF to remove administratively set
     MAC address

  Previous releases - always broken:

   - tls: fix races and bugs in use of async crypto

   - mptcp: prevent data races on some of the main socket fields, fix
     races in fastopen handling

   - dpll: fix possible deadlock during netlink dump operation

   - dsa: lan966x: fix crash when adding interface under a lag when some
     of the ports are disabled

   - can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock

  Misc:

   - a handful of fixes and reliability improvements for selftests

   - fix sysfs documentation missing net/ in paths

   - finish the work of squashing the missing MODULE_DESCRIPTION()
     warnings in networking"

* tag 'net-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (92 commits)
  net: fill in MODULE_DESCRIPTION()s for missing arcnet
  net: fill in MODULE_DESCRIPTION()s for mdio_devres
  net: fill in MODULE_DESCRIPTION()s for ppp
  net: fill in MODULE_DESCRIPTION()s for fddik/skfp
  net: fill in MODULE_DESCRIPTION()s for plip
  net: fill in MODULE_DESCRIPTION()s for ieee802154/fakelb
  net: fill in MODULE_DESCRIPTION()s for xen-netback
  net: ravb: Count packets instead of descriptors in GbEth RX path
  pppoe: Fix memory leak in pppoe_sendmsg()
  net: sctp: fix skb leak in sctp_inq_free()
  net: bcmasp: Handle RX buffer allocation failure
  net-timestamp: make sk_tskey more predictable in error path
  selftests: tls: increase the wait in poll_partial_rec_async
  ice: Add check for lport extraction to LAG init
  netfilter: nf_tables: fix bidirectional offload regression
  netfilter: nat: restore default DNAT behavior
  netfilter: nft_set_pipapo: fix missing : in kdoc
  igc: Remove temporary workaround
  igb: Fix string truncation warnings in igb_set_fw_version
  can: netlink: Fix TDCO calculation using the old data bittiming
  ...
Commit
4f5e5092fdbf5cec6bedc19fbe69cce4f5f08372
Parents
cc9c4f0b · c40c0d3a

Merge commit. Changes below are compared with the first parent: cc9c4f0b.

Changes

129 files changed · +817 −489

FileStatusAddDelContent
.mailmapmodified+5−4View file
Documentation/ABI/testing/sysfs-class-net-statisticsmodified+24−24View file
Documentation/netlink/specs/dpll.yamlmodified+0−4View file
Documentation/networking/devlink/devlink-port.rstmodified+1−1View file
Documentation/networking/net_cachelines/net_device.rstmodified+2−2View file
Documentation/networking/net_cachelines/tcp_sock.rstmodified+2−2View file
MAINTAINERSmodified+1−1View file
drivers/connector/cn_proc.cmodified+2−3View file
drivers/dpll/dpll_netlink.cmodified+6−14View file
drivers/dpll/dpll_nl.cmodified+0−4View file
drivers/dpll/dpll_nl.hmodified+0−2View file
drivers/net/arcnet/arc-rawmode.cmodified+1−0View file
drivers/net/arcnet/arc-rimi.cmodified+1−0View file
drivers/net/arcnet/capmode.cmodified+1−0View file
drivers/net/arcnet/com20020-pci.cmodified+1−0View file
drivers/net/arcnet/com20020.cmodified+1−0View file
drivers/net/arcnet/com20020_cs.cmodified+1−0View file
drivers/net/arcnet/com90io.cmodified+1−0View file
drivers/net/arcnet/com90xx.cmodified+1−0View file
drivers/net/arcnet/rfc1051.cmodified+1−0View file
drivers/net/arcnet/rfc1201.cmodified+1−0View file
drivers/net/bonding/bond_main.cmodified+2−3View file
drivers/net/can/dev/netlink.cmodified+1−1View file
drivers/net/dsa/dsa_loop_bdinfo.cmodified+1−0View file
drivers/net/ethernet/amd/pds_core/main.cmodified+6−0View file
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.cmodified+3−0View file
drivers/net/ethernet/brocade/bna/bnad.cmodified+5−7View file
drivers/net/ethernet/intel/i40e/i40e_dcb.cmodified+1−1View file
drivers/net/ethernet/intel/i40e/i40e_main.cmodified+10−14View file
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.cmodified+33−5View file
drivers/net/ethernet/intel/ice/ice_lag.cmodified+23−2View file
drivers/net/ethernet/intel/ice/ice_lag.hmodified+3−0View file
drivers/net/ethernet/intel/igb/igb.hmodified+1−1View file
drivers/net/ethernet/intel/igb/igb_main.cmodified+18−17View file
drivers/net/ethernet/intel/igc/igc_phy.cmodified+1−5View file
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.cmodified+0−32View file
drivers/net/ethernet/mellanox/mlx5/core/dpll.cmodified+1−1View file
drivers/net/ethernet/microchip/lan966x/lan966x_lag.cmodified+7−2View file
drivers/net/ethernet/pensando/ionic/ionic_txrx.cmodified+9−0View file
drivers/net/ethernet/renesas/ravb_main.cmodified+9−13View file
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.cmodified+35−34View file
drivers/net/ethernet/ti/Kconfigmodified+1−0View file
drivers/net/ethernet/ti/cpts.cmodified+12−5View file
drivers/net/fddi/skfp/skfddi.cmodified+1−0View file
drivers/net/ieee802154/fakelb.cmodified+1−0View file
drivers/net/ipvlan/ipvtap.cmodified+1−0View file
drivers/net/phy/mdio_devres.cmodified+1−0View file
drivers/net/plip/plip.cmodified+1−0View file
drivers/net/ppp/bsd_comp.cmodified+1−0View file
drivers/net/ppp/ppp_async.cmodified+1−0View file
drivers/net/ppp/ppp_deflate.cmodified+1−0View file
drivers/net/ppp/ppp_generic.cmodified+1−0View file
drivers/net/ppp/ppp_synctty.cmodified+1−0View file
drivers/net/ppp/pppoe.cmodified+9−14View file
drivers/net/wireless/intel/iwlwifi/fw/acpi.cmodified+9−6View file
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.cmodified+3−0View file
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.cmodified+4−0View file
drivers/net/wireless/intel/iwlwifi/mvm/time-event.cmodified+2−1View file
drivers/net/wireless/intel/iwlwifi/mvm/tx.cmodified+59−10View file
drivers/net/xen-netback/netback.cmodified+1−0View file
include/linux/netdevice.hmodified+5−5View file
include/linux/tcp.hmodified+3−3View file
include/net/tls.hmodified+0−5View file
net/6lowpan/core.cmodified+1−0View file
net/atm/mpc.cmodified+1−0View file
net/can/j1939/j1939-priv.hmodified+2−1View file
net/can/j1939/main.cmodified+1−1View file
net/can/j1939/socket.cmodified+30−16View file
net/core/dev.cmodified+3−2View file
net/core/rtnetlink.cmodified+9−6View file
net/handshake/handshake-test.cmodified+4−1View file
net/ipv4/ah4.cmodified+1−0View file
net/ipv4/esp4.cmodified+1−0View file
net/ipv4/ip_gre.cmodified+1−0View file
net/ipv4/ip_output.cmodified+8−5View file
net/ipv4/ip_tunnel.cmodified+1−0View file
net/ipv4/ip_vti.cmodified+1−0View file
net/ipv4/ipip.cmodified+1−0View file
net/ipv4/tcp.cmodified+2−1View file
net/ipv4/tunnel4.cmodified+1−0View file
net/ipv4/udp_tunnel_core.cmodified+1−0View file
net/ipv4/xfrm4_tunnel.cmodified+1−0View file
net/ipv6/ah6.cmodified+1−0View file
net/ipv6/esp6.cmodified+1−0View file
net/ipv6/ip6_output.cmodified+8−5View file
net/ipv6/ip6_udp_tunnel.cmodified+1−0View file
net/ipv6/mip6.cmodified+1−0View file
net/ipv6/sit.cmodified+1−0View file
net/ipv6/tunnel6.cmodified+1−0View file
net/ipv6/xfrm6_tunnel.cmodified+1−0View file
net/key/af_key.cmodified+1−0View file
net/mac80211/tx.cmodified+3−2View file
net/mptcp/fastopen.cmodified+2−4View file
net/mptcp/options.cmodified+5−4View file
net/mptcp/pm_userspace.cmodified+12−1View file
net/mptcp/protocol.cmodified+17−14View file
net/mptcp/protocol.hmodified+9−7View file
net/mptcp/subflow.cmodified+44−27View file
net/netfilter/nf_nat_core.cmodified+4−1View file
net/netfilter/nft_flow_offload.cmodified+1−0View file
net/netfilter/nft_set_pipapo.hmodified+2−2View file
net/openvswitch/flow_netlink.cmodified+33−16View file
net/rds/recv.cmodified+11−2View file
net/sched/act_mirred.cmodified+0−2View file
net/sched/em_canid.cmodified+1−0View file
net/sched/em_cmp.cmodified+1−0View file
net/sched/em_meta.cmodified+1−0View file
net/sched/em_nbyte.cmodified+1−0View file
net/sched/em_text.cmodified+1−0View file
net/sched/em_u32.cmodified+1−0View file
net/sctp/inqueue.cmodified+10−4View file
net/smc/af_smc.cmodified+1−0View file
net/tls/tls_sw.cmodified+62−73View file
net/unix/garbage.cmodified+4−3View file
net/xfrm/xfrm_algo.cmodified+1−0View file
net/xfrm/xfrm_user.cmodified+1−0View file
tools/testing/selftests/net/configmodified+5−1View file
tools/testing/selftests/net/forwarding/bridge_locked_port.shmodified+2−2View file
tools/testing/selftests/net/forwarding/bridge_mdb.shmodified+9−5View file
tools/testing/selftests/net/forwarding/tc_flower_l2_miss.shmodified+6−2View file
tools/testing/selftests/net/gro.shmodified+5−0View file
tools/testing/selftests/net/ip_local_port_range.cmodified+4−0View file
tools/testing/selftests/net/net_helper.shmodified+7−4View file
tools/testing/selftests/net/openvswitch/openvswitch.shmodified+13−0View file
tools/testing/selftests/net/openvswitch/ovs-dpctl.pymodified+56−15View file
tools/testing/selftests/net/pmtu.shmodified+2−2View file
tools/testing/selftests/net/so_txtime.shmodified+25−4View file
tools/testing/selftests/net/test_bridge_backup_port.shmodified+23−0View file
tools/testing/selftests/net/tls.cmodified+6−6View file

Only the first 600 diff lines are shown. Download the complete patch.

.mailmap

View file
diff --git a/.mailmap b/.mailmap
index ee8f03c..b99a238 100644
--- a/.mailmap
+++ b/.mailmap
@@ -191,10 +191,11 @@ Gao Xiang <[email protected]> <[email protected]>

Documentation/ABI/testing/sysfs-class-net-statistics

View file
diff --git a/Documentation/ABI/testing/sysfs-class-net-statistics b/Documentation/ABI/testing/sysfs-class-net-statistics
index 55db278..53e508c 100644
--- a/Documentation/ABI/testing/sysfs-class-net-statistics
+++ b/Documentation/ABI/testing/sysfs-class-net-statistics
@@ -1,4 +1,4 @@
-What: /sys/class/<iface>/statistics/collisions
+What: /sys/class/net/<iface>/statistics/collisions
Date: April 2005
KernelVersion: 2.6.12
@@ -6,7 +6,7 @@ Description:
Indicates the number of collisions seen by this network device.
This value might not be relevant with all MAC layers.
-What: /sys/class/<iface>/statistics/multicast
+What: /sys/class/net/<iface>/statistics/multicast
Date: April 2005
KernelVersion: 2.6.12
@@ -14,7 +14,7 @@ Description:
Indicates the number of multicast packets received by this
network device.
-What: /sys/class/<iface>/statistics/rx_bytes
+What: /sys/class/net/<iface>/statistics/rx_bytes
Date: April 2005
KernelVersion: 2.6.12
@@ -23,7 +23,7 @@ Description:
See the network driver for the exact meaning of when this
value is incremented.
-What: /sys/class/<iface>/statistics/rx_compressed
+What: /sys/class/net/<iface>/statistics/rx_compressed
Date: April 2005
KernelVersion: 2.6.12
@@ -32,7 +32,7 @@ Description:
network device. This value might only be relevant for interfaces
that support packet compression (e.g: PPP).
-What: /sys/class/<iface>/statistics/rx_crc_errors
+What: /sys/class/net/<iface>/statistics/rx_crc_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -41,7 +41,7 @@ Description:
by this network device. Note that the specific meaning might
depend on the MAC layer used by the interface.
-What: /sys/class/<iface>/statistics/rx_dropped
+What: /sys/class/net/<iface>/statistics/rx_dropped
Date: April 2005
KernelVersion: 2.6.12
@@ -51,7 +51,7 @@ Description:
packet processing. See the network driver for the exact
meaning of this value.
-What: /sys/class/<iface>/statistics/rx_errors
+What: /sys/class/net/<iface>/statistics/rx_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -59,7 +59,7 @@ Description:
Indicates the number of receive errors on this network device.
See the network driver for the exact meaning of this value.
-What: /sys/class/<iface>/statistics/rx_fifo_errors
+What: /sys/class/net/<iface>/statistics/rx_fifo_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -68,7 +68,7 @@ Description:
network device. See the network driver for the exact
meaning of this value.
-What: /sys/class/<iface>/statistics/rx_frame_errors
+What: /sys/class/net/<iface>/statistics/rx_frame_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -78,7 +78,7 @@ Description:
on the MAC layer protocol used. See the network driver for
the exact meaning of this value.
-What: /sys/class/<iface>/statistics/rx_length_errors
+What: /sys/class/net/<iface>/statistics/rx_length_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -87,7 +87,7 @@ Description:
error, oversized or undersized. See the network driver for the
exact meaning of this value.
-What: /sys/class/<iface>/statistics/rx_missed_errors
+What: /sys/class/net/<iface>/statistics/rx_missed_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -96,7 +96,7 @@ Description:
due to lack of capacity in the receive side. See the network
driver for the exact meaning of this value.
-What: /sys/class/<iface>/statistics/rx_nohandler
+What: /sys/class/net/<iface>/statistics/rx_nohandler
Date: February 2016
KernelVersion: 4.6
@@ -104,7 +104,7 @@ Description:
Indicates the number of received packets that were dropped on
an inactive device by the network core.
-What: /sys/class/<iface>/statistics/rx_over_errors
+What: /sys/class/net/<iface>/statistics/rx_over_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -114,7 +114,7 @@ Description:
(e.g: larger than MTU). See the network driver for the exact
meaning of this value.
-What: /sys/class/<iface>/statistics/rx_packets
+What: /sys/class/net/<iface>/statistics/rx_packets
Date: April 2005
KernelVersion: 2.6.12
@@ -122,7 +122,7 @@ Description:
Indicates the total number of good packets received by this
network device.
-What: /sys/class/<iface>/statistics/tx_aborted_errors
+What: /sys/class/net/<iface>/statistics/tx_aborted_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -132,7 +132,7 @@ Description:
a medium collision). See the network driver for the exact
meaning of this value.
-What: /sys/class/<iface>/statistics/tx_bytes
+What: /sys/class/net/<iface>/statistics/tx_bytes
Date: April 2005
KernelVersion: 2.6.12
@@ -143,7 +143,7 @@ Description:
transmitted packets or all packets that have been queued for
transmission.
-What: /sys/class/<iface>/statistics/tx_carrier_errors
+What: /sys/class/net/<iface>/statistics/tx_carrier_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -152,7 +152,7 @@ Description:
because of carrier errors (e.g: physical link down). See the
network driver for the exact meaning of this value.
-What: /sys/class/<iface>/statistics/tx_compressed
+What: /sys/class/net/<iface>/statistics/tx_compressed
Date: April 2005
KernelVersion: 2.6.12
@@ -161,7 +161,7 @@ Description:
this might only be relevant for devices that support
compression (e.g: PPP).
-What: /sys/class/<iface>/statistics/tx_dropped
+What: /sys/class/net/<iface>/statistics/tx_dropped
Date: April 2005
KernelVersion: 2.6.12
@@ -170,7 +170,7 @@ Description:
See the driver for the exact reasons as to why the packets were
dropped.
-What: /sys/class/<iface>/statistics/tx_errors
+What: /sys/class/net/<iface>/statistics/tx_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -179,7 +179,7 @@ Description:
a network device. See the driver for the exact reasons as to
why the packets were dropped.
-What: /sys/class/<iface>/statistics/tx_fifo_errors
+What: /sys/class/net/<iface>/statistics/tx_fifo_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -188,7 +188,7 @@ Description:
FIFO error. See the driver for the exact reasons as to why the
packets were dropped.
-What: /sys/class/<iface>/statistics/tx_heartbeat_errors
+What: /sys/class/net/<iface>/statistics/tx_heartbeat_errors
Date: April 2005
KernelVersion: 2.6.12
@@ -197,7 +197,7 @@ Description:
reported as heartbeat errors. See the driver for the exact
reasons as to why the packets were dropped.
-What: /sys/class/<iface>/statistics/tx_packets
+What: /sys/class/net/<iface>/statistics/tx_packets
Date: April 2005
KernelVersion: 2.6.12
@@ -206,7 +206,7 @@ Description:
device. See the driver for whether this reports the number of all
attempted or successful transmissions.
-What: /sys/class/<iface>/statistics/tx_window_errors
+What: /sys/class/net/<iface>/statistics/tx_window_errors
Date: April 2005
KernelVersion: 2.6.12

Documentation/netlink/specs/dpll.yaml

View file
diff --git a/Documentation/netlink/specs/dpll.yaml b/Documentation/netlink/specs/dpll.yaml
index b14aed1..3dcc9ec 100644
--- a/Documentation/netlink/specs/dpll.yaml
+++ b/Documentation/netlink/specs/dpll.yaml
@@ -384,8 +384,6 @@ operations:
- type
dump:
- pre: dpll-lock-dumpit
- post: dpll-unlock-dumpit
reply: *dev-attrs
-
@@ -473,8 +471,6 @@ operations:
- fractional-frequency-offset
dump:
- pre: dpll-lock-dumpit
- post: dpll-unlock-dumpit
request:
attributes:
- id

Documentation/networking/devlink/devlink-port.rst

View file
diff --git a/Documentation/networking/devlink/devlink-port.rst b/Documentation/networking/devlink/devlink-port.rst
index e33ad24..562f46b 100644
--- a/Documentation/networking/devlink/devlink-port.rst
+++ b/Documentation/networking/devlink/devlink-port.rst
@@ -126,7 +126,7 @@ Users may also set the RoCE capability of the function using
`devlink port function set roce` command.
Users may also set the function as migratable using
-'devlink port function set migratable' command.
+`devlink port function set migratable` command.
Users may also set the IPsec crypto capability of the function using
`devlink port function set ipsec_crypto` command.

Documentation/networking/net_cachelines/net_device.rst

View file
diff --git a/Documentation/networking/net_cachelines/net_device.rst b/Documentation/networking/net_cachelines/net_device.rst
index e75a535..dceb49d 100644
--- a/Documentation/networking/net_cachelines/net_device.rst
+++ b/Documentation/networking/net_cachelines/net_device.rst
@@ -136,8 +136,8 @@ struct_netpoll_info* npinfo -
possible_net_t nd_net - read_mostly (dev_net)napi_busy_loop,tcp_v(4/6)_rcv,ip(v6)_rcv,ip(6)_input,ip(6)_input_finish
void* ml_priv
enum_netdev_ml_priv_type ml_priv_type
-struct_pcpu_lstats__percpu* lstats
-struct_pcpu_sw_netstats__percpu* tstats
+struct_pcpu_lstats__percpu* lstats read_mostly dev_lstats_add()
+struct_pcpu_sw_netstats__percpu* tstats read_mostly dev_sw_netstats_tx_add()
struct_pcpu_dstats__percpu* dstats
struct_garp_port* garp_port
struct_mrp_port* mrp_port

Documentation/networking/net_cachelines/tcp_sock.rst

View file
diff --git a/Documentation/networking/net_cachelines/tcp_sock.rst b/Documentation/networking/net_cachelines/tcp_sock.rst
index 97d7a5c..1c154cb 100644
--- a/Documentation/networking/net_cachelines/tcp_sock.rst
+++ b/Documentation/networking/net_cachelines/tcp_sock.rst
@@ -38,13 +38,13 @@ u32 max_window read_mostly -
u32 mss_cache read_mostly read_mostly tcp_rate_check_app_limited,tcp_current_mss,tcp_sync_mss,tcp_sndbuf_expand,tcp_tso_should_defer(tx);tcp_update_pacing_rate,tcp_clean_rtx_queue(rx)
u32 window_clamp read_mostly read_write tcp_rcv_space_adjust,__tcp_select_window
u32 rcv_ssthresh read_mostly - __tcp_select_window
-u82 scaling_ratio
+u8 scaling_ratio read_mostly read_mostly tcp_win_from_space
struct tcp_rack
u16 advmss - read_mostly tcp_rcv_space_adjust
u8 compressed_ack
u8:2 dup_ack_counter
u8:1 tlp_retrans
-u8:1 tcp_usec_ts
+u8:1 tcp_usec_ts read_mostly read_mostly
u32 chrono_start read_write - tcp_chrono_start/stop(tcp_write_xmit,tcp_cwnd_validate,tcp_send_syn_data)
u32[3] chrono_stat read_write - tcp_chrono_start/stop(tcp_write_xmit,tcp_cwnd_validate,tcp_send_syn_data)
u8:2 chrono_type read_write - tcp_chrono_start/stop(tcp_write_xmit,tcp_cwnd_validate,tcp_send_syn_data)

MAINTAINERS

View file
diff --git a/MAINTAINERS b/MAINTAINERS
index 73d8983..a0697e2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -15324,7 +15324,7 @@ K: \bmdo_
NETWORKING [MPTCP]
M: Matthieu Baerts <[email protected]>
M: Mat Martineau <[email protected]>
-R: Geliang Tang <[email protected]>
+R: Geliang Tang <[email protected]>
S: Maintained

drivers/connector/cn_proc.c

View file
diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c
index 3d5e6d7..44b19e6 100644
--- a/drivers/connector/cn_proc.c
+++ b/drivers/connector/cn_proc.c
@@ -108,9 +108,8 @@ static inline void send_msg(struct cn_msg *msg)
filter_data[1] = 0;
}
- if (cn_netlink_send_mult(msg, msg->len, 0, CN_IDX_PROC, GFP_NOWAIT,
- cn_filter, (void *)filter_data) == -ESRCH)
- atomic_set(&proc_event_num_listeners, 0);
+ cn_netlink_send_mult(msg, msg->len, 0, CN_IDX_PROC, GFP_NOWAIT,
+ cn_filter, (void *)filter_data);
local_unlock(&local_event.lock);
}

drivers/dpll/dpll_netlink.c

View file
diff --git a/drivers/dpll/dpll_netlink.c b/drivers/dpll/dpll_netlink.c
index 314bb37..4ca9ad1 100644
--- a/drivers/dpll/dpll_netlink.c
+++ b/drivers/dpll/dpll_netlink.c
@@ -1199,6 +1199,7 @@ int dpll_nl_pin_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
unsigned long i;
int ret = 0;
+ mutex_lock(&dpll_lock);
xa_for_each_marked_start(&dpll_pin_xa, i, pin, DPLL_REGISTERED,
ctx->idx) {
if (!dpll_pin_available(pin))
@@ -1218,6 +1219,8 @@ int dpll_nl_pin_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
}
genlmsg_end(skb, hdr);
}
+ mutex_unlock(&dpll_lock);
+
if (ret == -EMSGSIZE) {
ctx->idx = i;
return skb->len;
@@ -1373,6 +1376,7 @@ int dpll_nl_device_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
unsigned long i;
int ret = 0;
+ mutex_lock(&dpll_lock);
xa_for_each_marked_start(&dpll_device_xa, i, dpll, DPLL_REGISTERED,
ctx->idx) {
hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid,
@@ -1389,6 +1393,8 @@ int dpll_nl_device_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
}
genlmsg_end(skb, hdr);
}
+ mutex_unlock(&dpll_lock);
+
if (ret == -EMSGSIZE) {
ctx->idx = i;
return skb->len;
@@ -1439,20 +1445,6 @@ dpll_unlock_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
mutex_unlock(&dpll_lock);
}
-int dpll_lock_dumpit(struct netlink_callback *cb)
-{
- mutex_lock(&dpll_lock);
-
- return 0;
-}
-
-int dpll_unlock_dumpit(struct netlink_callback *cb)
-{
- mutex_unlock(&dpll_lock);
-
- return 0;
-}
-
int dpll_pin_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
struct genl_info *info)
{

drivers/dpll/dpll_nl.c

View file
diff --git a/drivers/dpll/dpll_nl.c b/drivers/dpll/dpll_nl.c
index eaee5be..1e95f53 100644
--- a/drivers/dpll/dpll_nl.c
+++ b/drivers/dpll/dpll_nl.c
@@ -95,9 +95,7 @@ static const struct genl_split_ops dpll_nl_ops[] = {
},
{
.cmd = DPLL_CMD_DEVICE_GET,
- .start = dpll_lock_dumpit,
.dumpit = dpll_nl_device_get_dumpit,
- .done = dpll_unlock_dumpit,
.flags = GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
},
{
@@ -129,9 +127,7 @@ static const struct genl_split_ops dpll_nl_ops[] = {
},
{
.cmd = DPLL_CMD_PIN_GET,
- .start = dpll_lock_dumpit,
.dumpit = dpll_nl_pin_get_dumpit,
- .done = dpll_unlock_dumpit,
.policy = dpll_pin_get_dump_nl_policy,
.maxattr = DPLL_A_PIN_ID,
.flags = GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,

drivers/dpll/dpll_nl.h

View file
diff --git a/drivers/dpll/dpll_nl.h b/drivers/dpll/dpll_nl.h
index 92d4c9c..f491262 100644
--- a/drivers/dpll/dpll_nl.h
+++ b/drivers/dpll/dpll_nl.h
@@ -30,8 +30,6 @@ dpll_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
void
dpll_pin_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
struct genl_info *info);
-int dpll_lock_dumpit(struct netlink_callback *cb);
-int dpll_unlock_dumpit(struct netlink_callback *cb);
int dpll_nl_device_id_get_doit(struct sk_buff *skb, struct genl_info *info);
int dpll_nl_device_get_doit(struct sk_buff *skb, struct genl_info *info);

drivers/net/arcnet/arc-rawmode.c

View file
diff --git a/drivers/net/arcnet/arc-rawmode.c b/drivers/net/arcnet/arc-rawmode.c
index 8c651fd..57f1729 100644
--- a/drivers/net/arcnet/arc-rawmode.c
+++ b/drivers/net/arcnet/arc-rawmode.c
@@ -186,4 +186,5 @@ static void __exit arcnet_raw_exit(void)
module_init(arcnet_raw_init);
module_exit(arcnet_raw_exit);
+MODULE_DESCRIPTION("ARCnet raw mode packet interface module");
MODULE_LICENSE("GPL");

drivers/net/arcnet/arc-rimi.c

View file
diff --git a/drivers/net/arcnet/arc-rimi.c b/drivers/net/arcnet/arc-rimi.c
index 8c3ccc7..53d10a0 100644
--- a/drivers/net/arcnet/arc-rimi.c
+++ b/drivers/net/arcnet/arc-rimi.c
@@ -312,6 +312,7 @@ module_param(node, int, 0);
module_param(io, int, 0);
module_param(irq, int, 0);
module_param_string(device, device, sizeof(device), 0);
+MODULE_DESCRIPTION("ARCnet COM90xx RIM I chipset driver");
MODULE_LICENSE("GPL");
static struct net_device *my_dev;

drivers/net/arcnet/capmode.c

View file
diff --git a/drivers/net/arcnet/capmode.c b/drivers/net/arcnet/capmode.c
index c09b567..7a0a799 100644
--- a/drivers/net/arcnet/capmode.c
+++ b/drivers/net/arcnet/capmode.c
@@ -265,4 +265,5 @@ static void __exit capmode_module_exit(void)
module_init(capmode_module_init);
module_exit(capmode_module_exit);
+MODULE_DESCRIPTION("ARCnet CAP mode packet interface module");
MODULE_LICENSE("GPL");

drivers/net/arcnet/com20020-pci.c

View file
diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c
index 7b5c8bb..c5e571e 100644
--- a/drivers/net/arcnet/com20020-pci.c
+++ b/drivers/net/arcnet/com20020-pci.c
@@ -61,6 +61,7 @@ module_param(timeout, int, 0);
module_param(backplane, int, 0);
module_param(clockp, int, 0);
module_param(clockm, int, 0);
+MODULE_DESCRIPTION("ARCnet COM20020 chipset PCI driver");
MODULE_LICENSE("GPL");
static void led_tx_set(struct led_classdev *led_cdev,

drivers/net/arcnet/com20020.c

View file
diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c
index 06e1651..a0053e3 100644
--- a/drivers/net/arcnet/com20020.c
+++ b/drivers/net/arcnet/com20020.c
@@ -399,6 +399,7 @@ EXPORT_SYMBOL(com20020_found);
EXPORT_SYMBOL(com20020_netdev_ops);
#endif
+MODULE_DESCRIPTION("ARCnet COM20020 chipset core driver");
MODULE_LICENSE("GPL");
#ifdef MODULE

drivers/net/arcnet/com20020_cs.c

View file
diff --git a/drivers/net/arcnet/com20020_cs.c b/drivers/net/arcnet/com20020_cs.c
index dc3253b..75f08aa 100644
--- a/drivers/net/arcnet/com20020_cs.c
+++ b/drivers/net/arcnet/com20020_cs.c
@@ -97,6 +97,7 @@ module_param(backplane, int, 0);
module_param(clockp, int, 0);
module_param(clockm, int, 0);
+MODULE_DESCRIPTION("ARCnet COM20020 chipset PCMCIA driver");
MODULE_LICENSE("GPL");
/*====================================================================*/

drivers/net/arcnet/com90io.c

View file
diff --git a/drivers/net/arcnet/com90io.c b/drivers/net/arcnet/com90io.c
index 37b4774..3b463fb 100644
--- a/drivers/net/arcnet/com90io.c
+++ b/drivers/net/arcnet/com90io.c
@@ -350,6 +350,7 @@ static char device[9]; /* use eg. device=arc1 to change name */
module_param_hw(io, int, ioport, 0);
module_param_hw(irq, int, irq, 0);
module_param_string(device, device, sizeof(device), 0);
+MODULE_DESCRIPTION("ARCnet COM90xx IO mapped chipset driver");
MODULE_LICENSE("GPL");
#ifndef MODULE

drivers/net/arcnet/com90xx.c

View file
diff --git a/drivers/net/arcnet/com90xx.c b/drivers/net/arcnet/com90xx.c
index f49dae1..b3b287c 100644
--- a/drivers/net/arcnet/com90xx.c
+++ b/drivers/net/arcnet/com90xx.c
@@ -645,6 +645,7 @@ static void com90xx_copy_from_card(struct net_device *dev, int bufnum,
TIME(dev, "memcpy_fromio", count, memcpy_fromio(buf, memaddr, count));
}
+MODULE_DESCRIPTION("ARCnet COM90xx normal chipset driver");
MODULE_LICENSE("GPL");
static int __init com90xx_init(void)

drivers/net/arcnet/rfc1051.c

View file
diff --git a/drivers/net/arcnet/rfc1051.c b/drivers/net/arcnet/rfc1051.c
index a7752a5..46519ca 100644
--- a/drivers/net/arcnet/rfc1051.c
+++ b/drivers/net/arcnet/rfc1051.c
@@ -78,6 +78,7 @@ static void __exit arcnet_rfc1051_exit(void)
module_init(arcnet_rfc1051_init);
module_exit(arcnet_rfc1051_exit);
+MODULE_DESCRIPTION("ARCNet packet format (RFC 1051) module");
MODULE_LICENSE("GPL");
/* Determine a packet's protocol ID.

drivers/net/arcnet/rfc1201.c

View file
diff --git a/drivers/net/arcnet/rfc1201.c b/drivers/net/arcnet/rfc1201.c
index a4c8562..0edf35d 100644
--- a/drivers/net/arcnet/rfc1201.c
+++ b/drivers/net/arcnet/rfc1201.c
@@ -35,6 +35,7 @@
#include "arcdevice.h"
+MODULE_DESCRIPTION("ARCNet packet format (RFC 1201) module");
MODULE_LICENSE("GPL");
static __be16 type_trans(struct sk_buff *skb, struct net_device *dev);

drivers/net/bonding/bond_main.c

View file
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 4e0600c..a11748b 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1819,6 +1819,8 @@ void bond_xdp_set_features(struct net_device *bond_dev)
bond_for_each_slave(bond, slave, iter)
val &= slave->dev->xdp_features;
+ val &= ~NETDEV_XDP_ACT_XSK_ZEROCOPY;
+
xdp_set_features_flag(bond_dev, val);
}
@@ -5909,9 +5911,6 @@ void bond_setup(struct net_device *bond_dev)
if (BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP)
bond_dev->features |= BOND_XFRM_FEATURES;
#endif /* CONFIG_XFRM_OFFLOAD */
-
- if (bond_xdp_check(bond))
- bond_dev->xdp_features = NETDEV_XDP_ACT_MASK;
}
/* Destroy a bonding device.

drivers/net/can/dev/netlink.c

View file
diff --git a/drivers/net/can/dev/netlink.c b/drivers/net/can/dev/netlink.c
index 036d85e..dfdc039 100644
--- a/drivers/net/can/dev/netlink.c
+++ b/drivers/net/can/dev/netlink.c
@@ -346,7 +346,7 @@ static int can_changelink(struct net_device *dev, struct nlattr *tb[],
/* Neither of TDC parameters nor TDC flags are
* provided: do calculation
*/
- can_calc_tdco(&priv->tdc, priv->tdc_const, &priv->data_bittiming,
+ can_calc_tdco(&priv->tdc, priv->tdc_const, &dbt,
&priv->ctrlmode, priv->ctrlmode_supported);
} /* else: both CAN_CTRLMODE_TDC_{AUTO,MANUAL} are explicitly
* turned off. TDC is disabled: do nothing

drivers/net/dsa/dsa_loop_bdinfo.c

View file
diff --git a/drivers/net/dsa/dsa_loop_bdinfo.c b/drivers/net/dsa/dsa_loop_bdinfo.c
index 237066d..14ca424 100644
--- a/drivers/net/dsa/dsa_loop_bdinfo.c
+++ b/drivers/net/dsa/dsa_loop_bdinfo.c
@@ -32,4 +32,5 @@ static int __init dsa_loop_bdinfo_init(void)
}
arch_initcall(dsa_loop_bdinfo_init)
+MODULE_DESCRIPTION("DSA mock-up switch driver");
MODULE_LICENSE("GPL");

drivers/net/ethernet/amd/pds_core/main.c

View file
diff --git a/drivers/net/ethernet/amd/pds_core/main.c b/drivers/net/ethernet/amd/pds_core/main.c
index cdbf053..0050c58 100644
--- a/drivers/net/ethernet/amd/pds_core/main.c
+++ b/drivers/net/ethernet/amd/pds_core/main.c
@@ -451,6 +451,9 @@ static void pdsc_remove(struct pci_dev *pdev)

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/brocade/bna/bnad.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/i40e/i40e_dcb.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/i40e/i40e_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/ice/ice_lag.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/ice/ice_lag.h

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/igb/igb.h

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/igb/igb_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/intel/igc/igc_phy.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/dpll.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/microchip/lan966x/lan966x_lag.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/pensando/ionic/ionic_txrx.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/renesas/ravb_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/ti/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/ti/cpts.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/fddi/skfp/skfddi.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ieee802154/fakelb.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ipvlan/ipvtap.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/phy/mdio_devres.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/plip/plip.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ppp/bsd_comp.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ppp/ppp_async.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ppp/ppp_deflate.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ppp/ppp_generic.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ppp/ppp_synctty.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ppp/pppoe.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/wireless/intel/iwlwifi/fw/acpi.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/wireless/intel/iwlwifi/mvm/time-event.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/wireless/intel/iwlwifi/mvm/tx.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/xen-netback/netback.c

View file

This diff is incomplete. Download the complete patch.

include/linux/netdevice.h

View file

This diff is incomplete. Download the complete patch.

include/linux/tcp.h

View file

This diff is incomplete. Download the complete patch.

include/net/tls.h

View file

This diff is incomplete. Download the complete patch.

net/6lowpan/core.c

View file

This diff is incomplete. Download the complete patch.

net/atm/mpc.c

View file

This diff is incomplete. Download the complete patch.

net/can/j1939/j1939-priv.h

View file

This diff is incomplete. Download the complete patch.

net/can/j1939/main.c

View file

This diff is incomplete. Download the complete patch.

net/can/j1939/socket.c

View file

This diff is incomplete. Download the complete patch.

net/core/dev.c

View file

This diff is incomplete. Download the complete patch.

net/core/rtnetlink.c

View file

This diff is incomplete. Download the complete patch.

net/handshake/handshake-test.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/ah4.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/esp4.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/ip_gre.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/ip_output.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/ip_tunnel.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/ip_vti.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/ipip.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/tcp.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/tunnel4.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/udp_tunnel_core.c

View file

This diff is incomplete. Download the complete patch.

net/ipv4/xfrm4_tunnel.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/ah6.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/esp6.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/ip6_output.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/ip6_udp_tunnel.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/mip6.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/sit.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/tunnel6.c

View file

This diff is incomplete. Download the complete patch.

net/ipv6/xfrm6_tunnel.c

View file

This diff is incomplete. Download the complete patch.

net/key/af_key.c

View file

This diff is incomplete. Download the complete patch.

net/mac80211/tx.c

View file

This diff is incomplete. Download the complete patch.

net/mptcp/fastopen.c

View file

This diff is incomplete. Download the complete patch.

net/mptcp/options.c

View file

This diff is incomplete. Download the complete patch.

net/mptcp/pm_userspace.c

View file

This diff is incomplete. Download the complete patch.

net/mptcp/protocol.c

View file

This diff is incomplete. Download the complete patch.

net/mptcp/protocol.h

View file

This diff is incomplete. Download the complete patch.

net/mptcp/subflow.c

View file

This diff is incomplete. Download the complete patch.

net/netfilter/nf_nat_core.c

View file

This diff is incomplete. Download the complete patch.

net/netfilter/nft_flow_offload.c

View file

This diff is incomplete. Download the complete patch.

net/netfilter/nft_set_pipapo.h

View file

This diff is incomplete. Download the complete patch.

net/openvswitch/flow_netlink.c

View file

This diff is incomplete. Download the complete patch.

net/rds/recv.c

View file

This diff is incomplete. Download the complete patch.

net/sched/act_mirred.c

View file

This diff is incomplete. Download the complete patch.

net/sched/em_canid.c

View file

This diff is incomplete. Download the complete patch.

net/sched/em_cmp.c

View file

This diff is incomplete. Download the complete patch.

net/sched/em_meta.c

View file

This diff is incomplete. Download the complete patch.

net/sched/em_nbyte.c

View file

This diff is incomplete. Download the complete patch.

net/sched/em_text.c

View file

This diff is incomplete. Download the complete patch.

net/sched/em_u32.c

View file

This diff is incomplete. Download the complete patch.

net/sctp/inqueue.c

View file

This diff is incomplete. Download the complete patch.

net/smc/af_smc.c

View file

This diff is incomplete. Download the complete patch.

net/tls/tls_sw.c

View file

This diff is incomplete. Download the complete patch.

net/unix/garbage.c

View file

This diff is incomplete. Download the complete patch.

net/xfrm/xfrm_algo.c

View file

This diff is incomplete. Download the complete patch.

net/xfrm/xfrm_user.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/config

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/forwarding/bridge_locked_port.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/forwarding/bridge_mdb.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/forwarding/tc_flower_l2_miss.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/gro.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/ip_local_port_range.c

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/net_helper.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/openvswitch/openvswitch.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/openvswitch/ovs-dpctl.py

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/pmtu.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/so_txtime.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/test_bridge_backup_port.sh

View file

This diff is incomplete. Download the complete patch.

tools/testing/selftests/net/tls.c

View file

This diff is incomplete. Download the complete patch.