Linux 5.2.8
Greg KH
maintainerI'm announcing the release of the 5.2.8 kernel.
All users of the 5.2 kernel series must upgrade.
The updated 5.2.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 drivers/atm/iphase.c | 8 + drivers/gpu/drm/i915/intel_bios.c | 2 drivers/gpu/drm/i915/intel_vbt_defs.h | 6 - drivers/hid/hid-ids.h | 1 drivers/hid/hid-quirks.c | 1 drivers/hid/wacom_wac.c | 12 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 drivers/net/ethernet/marvell/mvmdio.c | 28 ++++- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 46 ++------ drivers/net/ethernet/mellanox/mlx5/core/dev.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en/port.c | 27 +++-- drivers/net/ethernet/mellanox/mlx5/core/en/port.h | 6 - drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 67 ++++++++---- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 5 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 4 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | 5 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c | 5 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 4 drivers/net/ethernet/mscc/ocelot.c | 1 drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h | 2 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c | 13 +- drivers/net/ethernet/realtek/r8169.c | 9 + drivers/net/ethernet/rocker/rocker_main.c | 1 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 5 drivers/net/phy/fixed_phy.c | 6 - drivers/net/phy/mscc.c | 16 +-- drivers/net/phy/phy_device.c | 6 + drivers/net/phy/phylink.c | 10 + drivers/net/ppp/pppoe.c | 3 drivers/net/ppp/pppox.c | 13 ++ drivers/net/ppp/pptp.c | 3 drivers/net/tun.c | 9 + drivers/nfc/nfcmrvl/main.c | 4 drivers/nfc/nfcmrvl/uart.c | 4 drivers/nfc/nfcmrvl/usb.c | 1 drivers/nvdimm/bus.c | 73 ++++++++------ drivers/nvdimm/region_devs.c | 4 drivers/scsi/fcoe/fcoe_ctlr.c | 51 +++------ drivers/scsi/libfc/fc_rport.c | 5 drivers/spi/spi-bcm2835.c | 3 fs/compat_ioctl.c | 3 include/linux/if_pppox.h | 3 include/linux/mlx5/fs.h | 1 include/linux/mlx5/mlx5_ifc.h | 6 - include/scsi/libfcoe.h | 1 net/bridge/br.c | 5 net/bridge/br_multicast.c | 3 net/bridge/br_private.h | 9 - net/bridge/br_vlan.c | 29 +++-- net/core/dev.c | 17 ++- net/ipv4/ipip.c | 3 net/ipv6/ip6_gre.c | 3 net/ipv6/ip6_tunnel.c | 6 - net/l2tp/l2tp_ppp.c | 3 net/mac80211/iface.c | 1 net/sched/act_bpf.c | 9 - net/sched/act_connmark.c | 9 - net/sched/act_csum.c | 9 - net/sched/act_gact.c | 8 - net/sched/act_ife.c | 13 +- net/sched/act_mirred.c | 13 +- net/sched/act_nat.c | 9 - net/sched/act_pedit.c | 10 + net/sched/act_police.c | 8 - net/sched/act_sample.c | 10 - net/sched/act_simple.c | 10 + net/sched/act_skbedit.c | 11 +- net/sched/act_skbmod.c | 11 +- net/sched/act_tunnel_key.c | 8 - net/sched/act_vlan.c | 25 +++- net/sched/sch_codel.c | 6 - net/smc/af_smc.c | 15 +- net/tipc/netlink_compat.c | 11 +- net/tipc/socket.c | 3 net/vmw_vsock/hyperv_transport.c | 8 + sound/usb/helper.c | 17 +++ sound/usb/helper.h | 1 sound/usb/quirks.c | 18 ++- tools/testing/selftests/bpf/Makefile | 3 tools/testing/selftests/bpf/test_xdp_vlan.sh | 57 ++++++++-- tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh | 9 + tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh | 9 + 84 files changed, 578 insertions(+), 313 deletions(-)
Aaron Armstrong Skomra (1):
HID: wacom: fix bit shift for Cintiq Companion 2
Alexis Bauvin (1):
tun: mark small packets as owned by the tap sock
Andreas Schwab (1):
net: phy: mscc: initialize stats array
Ariel Levkovich (1):
net/mlx5e: Prevent encap flow counter update async to user query
Arnaud Patard (1):
drivers/net/ethernet/marvell/mvmdio.c: Fix non OF case
Arnd Bergmann (1):
compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
Arseny Solokha (1):
net: phylink: don't start and stop SGMII PHYs in SFP modules twice
Aya Levin (1):
net/mlx5e: Fix matching of speed to PRM link modes
Claudiu Manoil (1):
ocelot: Cancel delayed work before wq destruction
Colin Ian King (1):
rocker: fix memory leaks of fib_work on two error return paths
Cong Wang (1):
ife: error out when nla attributes are empty
Dan Williams (2):
libnvdimm/bus: Prepare the nd_ioctl() path to be re-entrant libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock
Dexuan Cui (1):
hv_sock: Fix hang when a connection is closed
Dhinakaran Pandiyan (1):
drm/i915/vbt: Fix VBT parsing for the PSR section
Dmytro Linkin (1):
net: sched: use temporary variable for actions indexes
Edward Srouji (1):
net/mlx5: Fix modify_cq_in alignment
Frode Isaksen (1):
net: stmmac: Use netif_tx_napi_add() for TX polling function
Greg Kroah-Hartman (1):
Linux 5.2.8
Gustavo A. R. Silva (1):
atm: iphase: Fix Spectre v1 vulnerability
Haishuang Yan (3):
ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6
ip6_tunnel: fix possible use-after-free on xmit
ipip: validate header length in ipip_tunnel_xmit
Hannes Reinecke (1):
scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
Heiner Kallweit (2):
r8169: don't use MSI before RTL8168d
net: phy: fix race in genphy_update_link
Hillf Danton (1):
ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check
Hubert Feurstein (1):
net: phy: fixed_phy: print gpio error only if gpio node is present
Jesper Dangaard Brouer (4):
bpf: fix XDP vlan selftests test_xdp_vlan.sh selftests/bpf: add wrapper scripts for test_xdp_vlan.sh selftests/bpf: reduce time to execute test_xdp_vlan.sh
net: fix bpf_xdp_adjust_head regression for generic-XDP
Jia-Ju Bai (1):
net: sched: Fix a possible null-pointer dereference in dequeue_func()
Jiri Pirko (2):
mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()
net: fix ifindex collision during namespace removal
Johan Hovold (1):
NFC: nfcmrvl: fix gpio-handling regression
Johannes Berg (1):
Revert "mac80211: set NETIF_F_LLTX when using intermediate tx queues"
Jon Maloy (1):
tipc: fix unitilized skb list crash
Lukas Wunner (1):
spi: bcm2835: Fix 3-wire mode if DMA is enabled
Maor Gottlieb (1):
net/mlx5: Add missing RDMA_RX capabilities
Mark Zhang (1):
net/mlx5: Use reversed order when unregister devices
Matteo Croce (2):
mvpp2: fix panic on module removal
mvpp2: refactor MTU change code
Nikolay Aleksandrov (3):
net: bridge: delete local fdb on device init failure
net: bridge: mcast: don't delete permanent entries when fast leave is enabled
net: bridge: move default pvid init/deinit to NETDEV_REGISTER/UNREGISTER
Petr Machata (1):
mlxsw: spectrum_buffers: Further reduce pool size on Spectrum-2
Qian Cai (1):
net/mlx5e: always initialize frag->last_in_page
René van Dorst (1):
net: phylink: Fix flow control for fixed-link
Roman Mashak (1):
net sched: update vlan action for batched events operations
Sebastian Parschauer (1):
HID: Add quirk for HP X1200 PIXART OEM mouse
Subash Abhinov Kasiviswanathan (1):
net: qualcomm: rmnet: Fix incorrect UL checksum offload logic
Sudarsana Reddy Kalluru (1):
bnx2x: Disable multi-cos feature.
Takashi Iwai (1):
ALSA: usb-audio: Sanity checks for each pipe and EP types
Taras Kondratiuk (1):
tipc: compat: allow tipc commands without arguments
Ursula Braun (2):
net/smc: do not schedule tx_work in SMC_CLOSED state net/smc: avoid fallback in case of non-blocking connect
Greg KH
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 2 -SUBLEVEL = 7 +SUBLEVEL = 8 EXTRAVERSION = NAME = Bobtail Squid
drivers/atm/iphase.c +6 -2
@@ -63,6 +63,7 @@#include <asm/byteorder.h> #include <linux/vmalloc.h> #include <linux/jiffies.h> +#include <linux/nospec.h> #include "iphase.h" #include "suni.h" #define swap_byte_order (x) (((x & 0xff) << 8) | ((x & 0xff00) >> 8))
@@ -2760,8 +2761,11 @@ static int ia_ioctl(struct atm_dev *dev, unsigned int cmd, void __user *arg) }if (copy_from_user (&ia_cmds, arg,sizeof ia_cmds))return -EFAULT ; board = ia_cmds.status; -if ((board <0 ) || (board > iadev_count)) - board =0 ; + +if ((board <0 ) || (board > iadev_count)) + board =0 ; + board =array_index_nospec (board, iadev_count +1 ); + iadev = ia_dev[board];switch (ia_cmds.cmd) {case MEMDUMP :
drivers/gpu/drm/i915/intel_bios.c +1 -1
@@ -762,7 +762,7 @@ parse_psr(struct drm_i915_private *dev_priv, const struct bdb_header *bdb) }if (bdb->version >=226 ) { -u32 wakeup_time = psr_table->psr2_tp2_tp3_wakeup_time; +u32 wakeup_time = psr->psr2_tp2_tp3_wakeup_time; wakeup_time = (wakeup_time >> (2 * panel_type)) &0x3 ;switch (wakeup_time) {
drivers/gpu/drm/i915/intel_vbt_defs.h +3 -3
@@ -772,13 +772,13 @@ struct psr_table {/* TP wake up time in multiple of 100 */ u16 tp1_wakeup_time;u16 tp2_tp3_wakeup_time; - -/* PSR2 TP2/TP3 wakeup time for 16 panels */ -u32 psr2_tp2_tp3_wakeup_time; } __packed;struct bdb_psr {struct psr_table psr_table[16 ]; + +/* PSR2 TP2/TP3 wakeup time for 16 panels */ +u32 psr2_tp2_tp3_wakeup_time; } __packed;/*
drivers/hid/hid-ids.h +1 -0
@@ -568,6 +568,7 @@#define USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A 0x0b4a#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE 0x134a#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A 0x094a +#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641 0x0641#define USB_VENDOR_ID_HUION 0x256c#define USB_DEVICE_ID_HUION_TABLET 0x006e
drivers/hid/hid-quirks.c +1 -0
@@ -91,6 +91,7 @@ static const struct hid_device_id hid_quirks[] = { { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A), HID_QUIRK_ALWAYS_POLL }, + { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_IDEACOM, USB_DEVICE_ID_IDEACOM_IDC6680), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_INNOMEDIA, USB_DEVICE_ID_INNEX_GENESIS_ATARI), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M610X), HID_QUIRK_MULTI_INPUT },
drivers/hid/wacom_wac.c +6 -6
@@ -533,14 +533,14 @@ static int wacom_intuos_pad(struct wacom_wac *wacom)*/ buttons = (data[4 ] <<1 ) | (data[3 ] &0x01 ); }else if (features->type ==CINTIQ_COMPANION_2 ) { -/* d-pad right -> data[4] & 0x10 -* d-pad up -> data[4] & 0x20 -* d-pad left -> data[4] & 0x40 -* d-pad down -> data[4] & 0x80 -* d-pad center -> data[3] & 0x01 +/* d-pad right -> data[2] & 0x10 +* d-pad up -> data[2] & 0x20 +* d-pad left -> data[2] & 0x40 +* d-pad down -> data[2] & 0x80 +* d-pad center -> data[1] & 0x01 */ buttons = ((data[2 ] >>4 ) <<7 ) | - ((data[1 ] &0x04 ) <<6 ) | + ((data[1 ] &0x04 ) <<4 ) | ((data[2 ] &0x0F ) <<2 ) | (data[1 ] &0x03 ); }else if (features->type >=INTUOS5S && features->type <=INTUOSPL ) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +1 -2
@@ -1934,8 +1934,7 @@ u16 bnx2x_select_queue(struct net_device *dev, struct sk_buff *skb, }/* select a non-FCoE queue */ -return netdev_pick_tx (dev, skb,NULL ) % - (BNX2X_NUM_ETH_QUEUES (bp) * bp->max_cos); +return netdev_pick_tx (dev, skb,NULL ) % (BNX2X_NUM_ETH_QUEUES (bp)); }void bnx2x_set_num_queues (struct bnx2x *bp)
drivers/net/ethernet/marvell/mvmdio.c +22 -6
@@ -319,15 +319,31 @@ static int orion_mdio_probe(struct platform_device *pdev)init_waitqueue_head (&dev->smi_busy_wait); -for (i =0 ; i <ARRAY_SIZE (dev->clk); i++) { - dev->clk[i] =of_clk_get (pdev->dev.of_node, i); -if (PTR_ERR (dev->clk[i]) == -EPROBE_DEFER ) { +if (pdev->dev.of_node) { +for (i =0 ; i <ARRAY_SIZE (dev->clk); i++) { + dev->clk[i] =of_clk_get (pdev->dev.of_node, i); +if (PTR_ERR (dev->clk[i]) == -EPROBE_DEFER ) { + ret = -EPROBE_DEFER ; + goto out_clk; + } +if (IS_ERR (dev->clk[i])) +break ; +clk_prepare_enable (dev->clk[i]); + } + +if (!IS_ERR (of_clk_get (pdev->dev.of_node, +ARRAY_SIZE (dev->clk)))) +dev_warn (&pdev->dev, + "unsupported number of clocks, limiting to the first " + __stringify(ARRAY_SIZE(dev->clk)) "\n"); + }else { + dev->clk[0 ] =clk_get (&pdev->dev,NULL ); +if (PTR_ERR (dev->clk[0 ]) == -EPROBE_DEFER ) { ret = -EPROBE_DEFER ; goto out_clk; } -if (IS_ERR (dev->clk[i])) -break ; -clk_prepare_enable (dev->clk[i]); +if (!IS_ERR (dev->clk[0 ])) +clk_prepare_enable (dev->clk[0 ]); } dev->err_interrupt =platform_get_irq (pdev,0 );
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +15 -31
76 lines not on this page · raw message
drivers/net/ethernet/mellanox/mlx5/core/dev.c +1 -1
@@ -213,7 +213,7 @@ void mlx5_unregister_device(struct mlx5_core_dev *dev)struct mlx5_interface *intf;mutex_lock (&mlx5_intf_mutex); -list_for_each_entry (intf, &intf_list, list) +list_for_each_entry_reverse (intf, &intf_list, list)mlx5_remove_device (intf, priv);list_del (&priv->dev_list);mutex_unlock (&mlx5_intf_mutex);
drivers/net/ethernet/mellanox/mlx5/core/en/port.c +18 -9
@@ -78,9 +78,10 @@ static const u32 mlx5e_ext_link_speed[MLX5E_EXT_LINK_MODES_NUMBER] = { };static void mlx5e_port_get_speed_arr (struct mlx5_core_dev *mdev, -const u32 **arr,u32 *size) +const u32 **arr,u32 *size, +bool force_legacy) { -bool ext =MLX5_CAP_PCAM_FEATURE (mdev, ptys_extended_ethernet); +bool ext = force_legacy ? false :MLX5_CAP_PCAM_FEATURE (mdev, ptys_extended_ethernet); *size = ext ?ARRAY_SIZE (mlx5e_ext_link_speed) :ARRAY_SIZE (mlx5e_link_speed);
@@ -152,7 +153,8 @@ int mlx5_port_set_eth_ptys(struct mlx5_core_dev *dev, bool an_disable, sizeof(out), MLX5_REG_PTYS, 0, 1); } -u32 mlx5e_port_ptys2speed (struct mlx5_core_dev *mdev,u32 eth_proto_oper) +u32 mlx5e_port_ptys2speed (struct mlx5_core_dev *mdev,u32 eth_proto_oper, +bool force_legacy) {unsigned long temp = eth_proto_oper;const u32 *table;
@@ -160,7 +162,7 @@ u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper)u32 max_size;int i; -mlx5e_port_get_speed_arr (mdev, &table, &max_size); +mlx5e_port_get_speed_arr (mdev, &table, &max_size, force_legacy); i =find_first_bit (&temp, max_size);if (i < max_size) speed = table[i];
@@ -170,6 +172,7 @@ u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper)int mlx5e_port_linkspeed (struct mlx5_core_dev *mdev,u32 *speed) {struct mlx5e_port_eth_proto eproto; +bool force_legacy = false;bool ext;int err;
@@ -177,8 +180,13 @@ int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed) err =mlx5_port_query_eth_proto (mdev,1 , ext, &eproto);if (err) goto out; - - *speed =mlx5e_port_ptys2speed (mdev, eproto.oper); +if (ext && !eproto.admin) { + force_legacy = true; + err =mlx5_port_query_eth_proto (mdev,1 , false, &eproto); +if (err) + goto out; + } + *speed =mlx5e_port_ptys2speed (mdev, eproto.oper, force_legacy);if (!(*speed)) err = -EINVAL ;
@@ -201,7 +209,7 @@ int mlx5e_port_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed)if (err)return err; -mlx5e_port_get_speed_arr (mdev, &table, &max_size); +mlx5e_port_get_speed_arr (mdev, &table, &max_size, false);for (i =0 ; i < max_size; ++i)if (eproto.cap &MLX5E_PROT_MASK (i)) max_speed =max (max_speed, table[i]);
@@ -210,14 +218,15 @@ int mlx5e_port_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed)return 0 ; } -u32 mlx5e_port_speed2linkmodes (struct mlx5_core_dev *mdev,u32 speed) +u32 mlx5e_port_speed2linkmodes (struct mlx5_core_dev *mdev,u32 speed, +bool force_legacy) {u32 link_modes =0 ;const u32 *table;u32 max_size;int i; -mlx5e_port_get_speed_arr (mdev, &table, &max_size); +mlx5e_port_get_speed_arr (mdev, &table, &max_size, force_legacy);for (i =0 ; i < max_size; ++i) {if (table[i] == speed) link_modes |=MLX5E_PROT_MASK (i);
drivers/net/ethernet/mellanox/mlx5/core/en/port.h +4 -2
@@ -48,10 +48,12 @@ void mlx5_port_query_eth_autoneg(struct mlx5_core_dev *dev, u8 *an_status, u8 *an_disable_cap, u8 *an_disable_admin);int mlx5_port_set_eth_ptys (struct mlx5_core_dev *dev,bool an_disable,u32 proto_admin,bool ext); -u32 mlx5e_port_ptys2speed (struct mlx5_core_dev *mdev,u32 eth_proto_oper); +u32 mlx5e_port_ptys2speed (struct mlx5_core_dev *mdev,u32 eth_proto_oper, +bool force_legacy);int mlx5e_port_linkspeed (struct mlx5_core_dev *mdev,u32 *speed);int mlx5e_port_max_linkspeed (struct mlx5_core_dev *mdev,u32 *speed); -u32 mlx5e_port_speed2linkmodes (struct mlx5_core_dev *mdev,u32 speed); +u32 mlx5e_port_speed2linkmodes (struct mlx5_core_dev *mdev,u32 speed, +bool force_legacy);int mlx5e_port_query_pbmc (struct mlx5_core_dev *mdev,void *out);int mlx5e_port_set_pbmc (struct mlx5_core_dev *mdev,void *in);
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +46 -21
141 lines not on this page · raw message
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +2 -3
@@ -340,12 +340,11 @@ static inline u64 mlx5e_get_mpwqe_offset(struct mlx5e_rq *rq, u16 wqe_ix)static void mlx5e_init_frags_partition (struct mlx5e_rq *rq) { -struct mlx5e_wqe_frag_info next_frag, *prev; +struct mlx5e_wqe_frag_info next_frag = {}; +struct mlx5e_wqe_frag_info *prev =NULL ;int i; next_frag.di = &rq->wqe.di[0 ]; - next_frag.offset =0 ; - prev =NULL ;for (i =0 ; i <mlx5_wq_cyc_get_size (&rq->wqe.wq); i++) {struct mlx5e_rq_frag_info *frag_info = &rq->wqe.info.arr[0 ];
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +2 -2
@@ -1210,13 +1210,13 @@ static struct mlx5_fc *mlx5e_tc_get_counter(struct mlx5e_tc_flow *flow)void mlx5e_tc_update_neigh_used_value (struct mlx5e_neigh_hash_entry *nhe) {struct mlx5e_neigh *m_neigh = &nhe->m_neigh; -u64 bytes, packets, lastuse =0 ;struct mlx5e_tc_flow *flow;struct mlx5e_encap_entry *e;struct mlx5_fc *counter;struct neigh_table *tbl;bool neigh_used = false;struct neighbour *n; +u64 lastuse;if (m_neigh->family ==AF_INET ) tbl = &arp_tbl;
@@ -1236,7 +1236,7 @@ void mlx5e_tc_update_neigh_used_value(struct mlx5e_neigh_hash_entry *nhe) encaps[efi->index]);if (flow->flags &MLX5E_TC_FLOW_OFFLOADED ) { counter =mlx5e_tc_get_counter (flow); -mlx5_fc_query_cached (counter, &bytes, &packets, &lastuse); + lastuse =mlx5_fc_query_lastuse (counter);if (time_after ((unsigned long )lastuse, nhe->reported_lastuse)) { neigh_used = true;break ;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h +3 -2
@@ -68,7 +68,7 @@ enum fs_flow_table_type {FS_FT_SNIFFER_RX =0X5 ,FS_FT_SNIFFER_TX =0X6 ,FS_FT_RDMA_RX =0X7 , - FS_FT_MAX_TYPE = FS_FT_SNIFFER_TX, + FS_FT_MAX_TYPE = FS_FT_RDMA_RX, }; enum fs_flow_table_op_mod {
@@ -274,7 +274,8 @@ void mlx5_cleanup_fs(struct mlx5_core_dev *dev); (type ==FS_FT_FDB ) ?MLX5_CAP_ESW_FLOWTABLE_FDB (mdev, cap) : \ (type ==FS_FT_SNIFFER_RX ) ?MLX5_CAP_FLOWTABLE_SNIFFER_RX (mdev, cap) : \ (type ==FS_FT_SNIFFER_TX ) ?MLX5_CAP_FLOWTABLE_SNIFFER_TX (mdev, cap) : \ - (BUILD_BUG_ON_ZERO(FS_FT_SNIFFER_TX != FS_FT_MAX_TYPE))\ + (type ==FS_FT_RDMA_RX ) ?MLX5_CAP_FLOWTABLE_RDMA_RX (mdev, cap) : \ + (BUILD_BUG_ON_ZERO (FS_FT_RDMA_RX !=FS_FT_MAX_TYPE ))\ ) #endif
drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c +5 -0
@@ -367,6 +367,11 @@ int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter, }EXPORT_SYMBOL (mlx5_fc_query); +u64 mlx5_fc_query_lastuse (struct mlx5_fc *counter) +{ +return counter->cache.lastuse; +} +void mlx5_fc_query_cached (struct mlx5_fc *counter,u64 *bytes,u64 *packets,u64 *lastuse) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c +1 -1
@@ -5989,7 +5989,7 @@ static int __init mlxsw_sp_module_init(void)return 0 ; err_sp2_pci_driver_register: -mlxsw_pci_driver_unregister (&mlxsw_sp2_pci_driver); +mlxsw_pci_driver_unregister (&mlxsw_sp1_pci_driver); err_sp1_pci_driver_register:mlxsw_core_driver_unregister (&mlxsw_sp2_driver); err_sp2_core_driver_register:
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c +2 -2
@@ -437,8 +437,8 @@ static const struct mlxsw_sp_sb_pr mlxsw_sp1_sb_prs[] = { MLXSW_SP1_SB_PR_CPU_SIZE, true, false), }; -#define MLXSW_SP2_SB_PR_INGRESS_SIZE 38128752 -#define MLXSW_SP2_SB_PR_EGRESS_SIZE 38128752 +#define MLXSW_SP2_SB_PR_INGRESS_SIZE 35297568 +#define MLXSW_SP2_SB_PR_EGRESS_SIZE 35297568#define MLXSW_SP2_SB_PR_CPU_SIZE (256 * 1000)/* Order according to mlxsw_sp2_sb_pool_dess */
drivers/net/ethernet/mscc/ocelot.c +1 -0
@@ -1797,6 +1797,7 @@ EXPORT_SYMBOL(ocelot_init);void ocelot_deinit (struct ocelot *ocelot) { +cancel_delayed_work (&ocelot->stats_work);destroy_workqueue (ocelot->stats_queue);mutex_destroy (&ocelot->stats_lock); }
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h +1 -1
@@ -51,7 +51,7 @@ struct rmnet_map_dl_csum_trailer {struct rmnet_map_ul_csum_header {__be16 csum_start_offset;u16 csum_insert_offset:14 ; -u16 udp_ip4_ind:1 ; +u16 udp_ind:1 ;u16 csum_enabled:1 ; }__aligned(1) ;
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c +9 -4
@@ -206,9 +206,9 @@ rmnet_map_ipv4_ul_csum_header(void *iphdr, ul_header->csum_insert_offset = skb->csum_offset; ul_header->csum_enabled =1 ;if (ip4h->protocol ==IPPROTO_UDP ) - ul_header->udp_ip4_ind =1 ; + ul_header->udp_ind =1 ;else - ul_header->udp_ip4_ind =0 ; + ul_header->udp_ind =0 ;/* Changing remaining fields to network order */ hdr++;
@@ -239,6 +239,7 @@ rmnet_map_ipv6_ul_csum_header(void *ip6hdr,struct rmnet_map_ul_csum_header *ul_header, struct sk_buff *skb) { + struct ipv6hdr *ip6h = (struct ipv6hdr *)ip6hdr;__be16 *hdr = (__be16 *)ul_header, offset; offset = htons((__force u16)(skb_transport_header(skb) -
@@ -246,7 +247,11 @@ rmnet_map_ipv6_ul_csum_header(void *ip6hdr, ul_header->csum_start_offset = offset; ul_header->csum_insert_offset = skb->csum_offset; ul_header->csum_enabled =1 ; - ul_header->udp_ip4_ind =0 ; + +if (ip6h->nexthdr ==IPPROTO_UDP ) + ul_header->udp_ind =1 ; +else + ul_header->udp_ind =0 ;/* Changing remaining fields to network order */ hdr++;
@@ -419,7 +424,7 @@ void rmnet_map_checksum_uplink_packet(struct sk_buff *skb, ul_header->csum_start_offset =0 ; ul_header->csum_insert_offset =0 ; ul_header->csum_enabled =0 ; - ul_header->udp_ip4_ind =0 ; + ul_header->udp_ind =0 ; priv->stats.csum_sw++; }
drivers/net/ethernet/realtek/r8169.c +7 -2
@@ -7050,13 +7050,18 @@ static int rtl_alloc_irq(struct rtl8169_private *tp) {unsigned int flags; -if (tp->mac_version <=RTL_GIGA_MAC_VER_06 ) { +switch (tp->mac_version) { + case RTL_GIGA_MAC_VER_02 ... RTL_GIGA_MAC_VER_06:rtl_unlock_config_regs (tp);RTL_W8 (tp, Config2,RTL_R8 (tp, Config2) & ~MSIEnable);rtl_lock_config_regs (tp); +/* fall through */ + case RTL_GIGA_MAC_VER_07 ... RTL_GIGA_MAC_VER_24: flags =PCI_IRQ_LEGACY ; - }else { +break ; +default : flags =PCI_IRQ_ALL_TYPES ; +break ; }return pci_alloc_irq_vectors (tp->pci_dev,1 ,1 , flags);
drivers/net/ethernet/rocker/rocker_main.c +1 -0
@@ -2208,6 +2208,7 @@ static int rocker_router_fib_event(struct notifier_block *nb,if (fen_info->fi->fib_nh_is_v6) {NL_SET_ERR_MSG_MOD (info->extack,"IPv6 gateway with IPv4 route is not supported" ); +kfree (fib_work);return notifier_from_errno (-EINVAL ); } }
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +3 -2
@@ -4374,8 +4374,9 @@ int stmmac_dvr_probe(struct device *device, NAPI_POLL_WEIGHT); }if (queue < priv->plat->tx_queues_to_use) { -netif_napi_add (ndev, &ch->tx_napi, stmmac_napi_poll_tx, -NAPI_POLL_WEIGHT ); +netif_tx_napi_add (ndev, &ch->tx_napi, + stmmac_napi_poll_tx, +NAPI_POLL_WEIGHT ); } }
drivers/net/phy/fixed_phy.c +4 -2
@@ -216,8 +216,10 @@ static struct gpio_desc *fixed_phy_get_gpiod(struct device_node *np)if (IS_ERR (gpiod)) {if (PTR_ERR (gpiod) == -EPROBE_DEFER )return gpiod; -pr_err ("error getting GPIO for fixed link %pOF, proceed without\n" , - fixed_link_node); + +if (PTR_ERR (gpiod) != -ENOENT ) +pr_err ("error getting GPIO for fixed link %pOF, proceed without\n" , + fixed_link_node); gpiod =NULL ; }
drivers/net/phy/mscc.c +8 -8
@@ -2226,8 +2226,8 @@ static int vsc8514_probe(struct phy_device *phydev) vsc8531->supp_led_modes =VSC85XX_SUPP_LED_MODES ; vsc8531->hw_stats = vsc85xx_hw_stats; vsc8531->nstats =ARRAY_SIZE (vsc85xx_hw_stats); - vsc8531->stats =devm_kmalloc_array (&phydev->mdio.dev, vsc8531->nstats, -sizeof (u64),GFP_KERNEL ); + vsc8531->stats =devm_kcalloc (&phydev->mdio.dev, vsc8531->nstats, +sizeof (u64),GFP_KERNEL );if (!vsc8531->stats)return -ENOMEM ;
@@ -2251,8 +2251,8 @@ static int vsc8574_probe(struct phy_device *phydev) vsc8531->supp_led_modes =VSC8584_SUPP_LED_MODES ; vsc8531->hw_stats = vsc8584_hw_stats; vsc8531->nstats =ARRAY_SIZE (vsc8584_hw_stats); - vsc8531->stats =devm_kmalloc_array (&phydev->mdio.dev, vsc8531->nstats, -sizeof (u64),GFP_KERNEL ); + vsc8531->stats =devm_kcalloc (&phydev->mdio.dev, vsc8531->nstats, +sizeof (u64),GFP_KERNEL );if (!vsc8531->stats)return -ENOMEM ;
@@ -2281,8 +2281,8 @@ static int vsc8584_probe(struct phy_device *phydev) vsc8531->supp_led_modes =VSC8584_SUPP_LED_MODES ; vsc8531->hw_stats = vsc8584_hw_stats; vsc8531->nstats =ARRAY_SIZE (vsc8584_hw_stats); - vsc8531->stats =devm_kmalloc_array (&phydev->mdio.dev, vsc8531->nstats, -sizeof (u64),GFP_KERNEL ); + vsc8531->stats =devm_kcalloc (&phydev->mdio.dev, vsc8531->nstats, +sizeof (u64),GFP_KERNEL );if (!vsc8531->stats)return -ENOMEM ;
@@ -2311,8 +2311,8 @@ static int vsc85xx_probe(struct phy_device *phydev) vsc8531->supp_led_modes =VSC85XX_SUPP_LED_MODES ; vsc8531->hw_stats = vsc85xx_hw_stats; vsc8531->nstats =ARRAY_SIZE (vsc85xx_hw_stats); - vsc8531->stats =devm_kmalloc_array (&phydev->mdio.dev, vsc8531->nstats, -sizeof (u64),GFP_KERNEL ); + vsc8531->stats =devm_kcalloc (&phydev->mdio.dev, vsc8531->nstats, +sizeof (u64),GFP_KERNEL );if (!vsc8531->stats)return -ENOMEM ;
drivers/net/phy/phy_device.c +6 -0
@@ -1730,6 +1730,12 @@ int genphy_update_link(struct phy_device *phydev) phydev->link = status &BMSR_LSTATUS ?1 :0 ; phydev->autoneg_complete = status &BMSR_ANEGCOMPLETE ?1 :0 ; +/* Consider the case that autoneg was started and "aneg complete" +* bit has been reset, but "link up" bit not yet. +*/ +if (phydev->autoneg ==AUTONEG_ENABLE && !phydev->autoneg_complete) + phydev->link =0 ; +return 0 ; }EXPORT_SYMBOL (genphy_update_link);
drivers/net/phy/phylink.c +6 -4
@@ -195,6 +195,8 @@ static int phylink_parse_fixedlink(struct phylink *pl, pl->supported, true);linkmode_zero (pl->supported);phylink_set (pl->supported,MII ); +phylink_set (pl->supported, Pause); +phylink_set (pl->supported, Asym_Pause);if (s) {__set_bit (s->bit, pl->supported); }else {
@@ -912,10 +914,10 @@ void phylink_start(struct phylink *pl)if (pl->link_an_mode ==MLO_AN_FIXED && !IS_ERR (pl->link_gpio))mod_timer (&pl->link_poll, jiffies +HZ ); -if (pl->sfp_bus) -sfp_upstream_start (pl->sfp_bus);if (pl->phydev)phy_start (pl->phydev); +if (pl->sfp_bus) +sfp_upstream_start (pl->sfp_bus); }EXPORT_SYMBOL_GPL (phylink_start);
@@ -932,10 +934,10 @@ void phylink_stop(struct phylink *pl) {ASSERT_RTNL (); -if (pl->phydev) -phy_stop (pl->phydev);if (pl->sfp_bus)sfp_upstream_stop (pl->sfp_bus); +if (pl->phydev) +phy_stop (pl->phydev);if (pl->link_an_mode ==MLO_AN_FIXED && !IS_ERR (pl->link_gpio))del_timer_sync (&pl->link_poll);
drivers/net/ppp/pppoe.c +3 -0
@@ -1115,6 +1115,9 @@ static const struct proto_ops pppoe_ops = { .recvmsg = pppoe_recvmsg, .mmap = sock_no_mmap, .ioctl = pppox_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = pppox_compat_ioctl, +#endif };static const struct pppox_proto pppoe_proto = {
drivers/net/ppp/pppox.c +13 -0
@@ -17,6 +17,7 @@#include <linux/string.h> #include <linux/module.h> #include <linux/kernel.h> +#include <linux/compat.h> #include <linux/errno.h> #include <linux/netdevice.h> #include <linux/net.h>
@@ -98,6 +99,18 @@ int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)EXPORT_SYMBOL (pppox_ioctl); +#ifdef CONFIG_COMPAT +int pppox_compat_ioctl (struct socket *sock,unsigned int cmd,unsigned long arg) +{ +if (cmd ==PPPOEIOCSFWD32 ) + cmd =PPPOEIOCSFWD ; + +return pppox_ioctl (sock, cmd, (unsigned long )compat_ptr (arg)); +} + +EXPORT_SYMBOL (pppox_compat_ioctl); +#endif +static int pppox_create (struct net *net,struct socket *sock,int protocol,int kern) {
drivers/net/ppp/pptp.c +3 -0
@@ -623,6 +623,9 @@ static const struct proto_ops pptp_ops = { .recvmsg = sock_no_recvmsg, .mmap = sock_no_mmap, .ioctl = pppox_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = pppox_compat_ioctl, +#endif };static const struct pppox_proto pppox_pptp_proto = {
drivers/net/tun.c +6 -3
@@ -1600,7 +1600,8 @@ static bool tun_can_build_skb(struct tun_struct *tun, struct tun_file *tfile,return true; } -static struct sk_buff *__tun_build_skb (struct page_frag *alloc_frag,char *buf, +static struct sk_buff *__tun_build_skb (struct tun_file *tfile, +struct page_frag *alloc_frag,char *buf,int buflen,int len,int pad) {struct sk_buff *skb =build_skb (buf, buflen);
@@ -1610,6 +1611,7 @@ static struct sk_buff *__tun_build_skb(struct page_frag *alloc_frag, char *buf,skb_reserve (skb, pad);skb_put (skb, len); +skb_set_owner_w (skb, tfile->socket.sk);get_page (alloc_frag->page); alloc_frag->offset += buflen;
@@ -1687,7 +1689,8 @@ static struct sk_buff *tun_build_skb(struct tun_struct *tun,*/ if (hdr->gso_type || !xdp_prog) { *skb_xdp =1 ; -return __tun_build_skb (alloc_frag, buf, buflen, len, pad); +return __tun_build_skb (tfile, alloc_frag, buf, buflen, len, + pad); } *skb_xdp =0 ;
@@ -1724,7 +1727,7 @@ static struct sk_buff *tun_build_skb(struct tun_struct *tun,rcu_read_unlock ();local_bh_enable (); -return __tun_build_skb (alloc_frag, buf, buflen, len, pad); +return __tun_build_skb (tfile, alloc_frag, buf, buflen, len, pad); err_xdp:put_page (alloc_frag->page);
drivers/nfc/nfcmrvl/main.c +2 -2
@@ -244,7 +244,7 @@ void nfcmrvl_chip_reset(struct nfcmrvl_private *priv)/* Reset possible fault of previous session */ clear_bit (NFCMRVL_PHY_ERROR , &priv->flags); -if (priv->config.reset_n_io) { +if (gpio_is_valid (priv->config.reset_n_io)) {nfc_info (priv->dev,"reset the chip\n" );gpio_set_value (priv->config.reset_n_io,0 );usleep_range (5000 ,10000 );
@@ -255,7 +255,7 @@ void nfcmrvl_chip_reset(struct nfcmrvl_private *priv)void nfcmrvl_chip_halt (struct nfcmrvl_private *priv) { -if (priv->config.reset_n_io) +if (gpio_is_valid (priv->config.reset_n_io))gpio_set_value (priv->config.reset_n_io,0 ); }
drivers/nfc/nfcmrvl/uart.c +2 -2
@@ -26,7 +26,7 @@static unsigned int hci_muxed;static unsigned int flow_control;static unsigned int break_control; -static unsigned int reset_n_io; +static int reset_n_io = -EINVAL ;/* ** NFCMRVL NCI OPS
@@ -231,5 +231,5 @@ MODULE_PARM_DESC(break_control, "Tell if UART driver must drive break signal.");module_param (hci_muxed, uint,0 );MODULE_PARM_DESC (hci_muxed,"Tell if transport is muxed in HCI one." ); -module_param (reset_n_io, uint,0 ); +module_param (reset_n_io, int,0 );MODULE_PARM_DESC (reset_n_io,"GPIO that is wired to RESET_N signal." );
drivers/nfc/nfcmrvl/usb.c +1 -0
@@ -305,6 +305,7 @@ static int nfcmrvl_probe(struct usb_interface *intf,/* No configuration for USB */ memset (&config,0 ,sizeof (config)); + config.reset_n_io = -EINVAL ;nfc_info (&udev->dev,"intf %p id %p\n" , intf, id);
drivers/nvdimm/bus.c +46 -27
160 lines not on this page · raw message
drivers/nvdimm/region_devs.c +4 -0
@@ -422,10 +422,12 @@ static ssize_t available_size_show(struct device *dev,* memory nvdimm_bus_lock() is dropped, but that's userspace's * problem to not race itself. */ +device_lock (dev);nvdimm_bus_lock (dev);wait_nvdimm_bus_probe_idle (dev); available =nd_region_available_dpa (nd_region);nvdimm_bus_unlock (dev); +device_unlock (dev);return sprintf (buf,"%llu\n" , available); }
@@ -437,10 +439,12 @@ static ssize_t max_available_extent_show(struct device *dev,struct nd_region *nd_region =to_nd_region (dev);unsigned long long available =0 ; +device_lock (dev);nvdimm_bus_lock (dev);wait_nvdimm_bus_probe_idle (dev); available =nd_region_allocatable_dpa (nd_region);nvdimm_bus_unlock (dev); +device_unlock (dev);return sprintf (buf,"%llu\n" , available); }
drivers/scsi/fcoe/fcoe_ctlr.c +20 -31
152 lines not on this page · raw message
drivers/scsi/libfc/fc_rport.c +4 -1
@@ -128,6 +128,7 @@ EXPORT_SYMBOL(fc_rport_lookup);struct fc_rport_priv *fc_rport_create (struct fc_lport *lport,u32 port_id) {struct fc_rport_priv *rdata; +size_t rport_priv_size =sizeof (*rdata);lockdep_assert_held (&lport->disc.disc_mutex);
@@ -135,7 +136,9 @@ struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, u32 port_id)if (rdata)return rdata; - rdata =kzalloc (sizeof (*rdata) + lport->rport_priv_size,GFP_KERNEL ); +if (lport->rport_priv_size >0 ) + rport_priv_size = lport->rport_priv_size; + rdata =kzalloc (rport_priv_size,GFP_KERNEL );if (!rdata)return NULL ;
drivers/spi/spi-bcm2835.c +2 -1
@@ -764,7 +764,8 @@ static int bcm2835_spi_transfer_one(struct spi_master *master,bcm2835_wr (bs,BCM2835_SPI_CLK , cdiv);/* handle all the 3-wire mode */ -if ((spi->mode &SPI_3WIRE ) && (tfr->rx_buf)) +if (spi->mode &SPI_3WIRE && tfr->rx_buf && + tfr->rx_buf != master->dummy_rx) cs |=BCM2835_SPI_CS_REN ;else cs &= ~BCM2835_SPI_CS_REN ;
fs/compat_ioctl.c +0 -3
@@ -638,9 +638,6 @@ COMPATIBLE_IOCTL(PPPIOCDISCONN) COMPATIBLE_IOCTL(PPPIOCATTCHAN) COMPATIBLE_IOCTL(PPPIOCGCHAN) COMPATIBLE_IOCTL(PPPIOCGL2TPSTATS) -/* PPPOX */ -COMPATIBLE_IOCTL(PPPOEIOCSFWD) -COMPATIBLE_IOCTL(PPPOEIOCDFWD) /* Big A */ /* sparc only */ /* Big Q for sound/OSS */
include/linux/if_pppox.h +3 -0
@@ -80,6 +80,9 @@ extern int register_pppox_proto(int proto_num, const struct pppox_proto *pp);extern void unregister_pppox_proto (int proto_num);extern void pppox_unbind_sock (struct sock *sk);/* delete ppp-channel binding */ extern int pppox_ioctl (struct socket *sock,unsigned int cmd,unsigned long arg); +extern int pppox_compat_ioctl (struct socket *sock,unsigned int cmd,unsigned long arg); + +#define PPPOEIOCSFWD32 _IOW(0xB1 ,0, compat_size_t)/* PPPoX socket states */ enum {
include/linux/mlx5/fs.h +1 -0
@@ -211,6 +211,7 @@ int mlx5_modify_rule_destination(struct mlx5_flow_handle *handler,struct mlx5_fc *mlx5_fc_create (struct mlx5_core_dev *dev,bool aging);void mlx5_fc_destroy (struct mlx5_core_dev *dev,struct mlx5_fc *counter); +u64 mlx5_fc_query_lastuse (struct mlx5_fc *counter);void mlx5_fc_query_cached (struct mlx5_fc *counter,u64 *bytes,u64 *packets,u64 *lastuse); int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter,
include/linux/mlx5/mlx5_ifc.h +4 -2
@@ -5865,10 +5865,12 @@ struct mlx5_ifc_modify_cq_in_bits {struct mlx5_ifc_cqc_bits cq_context; -u8 reserved_at_280[0x40 ]; +u8 reserved_at_280[0x60 ];u8 cq_umem_valid[0x1 ]; -u8 reserved_at_2c1[0x5bf ]; +u8 reserved_at_2e1[0x1f ]; + +u8 reserved_at_300[0x580 ];u8 pas[0 ][0x40 ]; };
include/scsi/libfcoe.h +1 -0
@@ -229,6 +229,7 @@ struct fcoe_fcf {* @vn_mac: VN_Node assigned MAC address for data */ struct fcoe_rport { +struct fc_rport_priv rdata;unsigned long time;u16 fcoe_len;u16 flags;
net/bridge/br.c +4 -1
@@ -37,12 +37,15 @@ static int br_device_event(struct notifier_block *unused, unsigned long event, vint err;if (dev->priv_flags &IFF_EBRIDGE ) { + err =br_vlan_bridge_event (dev, event, ptr); +if (err) +return notifier_from_errno (err); +if (event ==NETDEV_REGISTER ) {/* register of bridge completed, add sysfs entries */ br_sysfs_addbr (dev);return NOTIFY_DONE ; } -br_vlan_bridge_event (dev, event, ptr); }/* not a port of a bridge */
net/bridge/br_multicast.c +3 -0
@@ -1388,6 +1388,9 @@ br_multicast_leave_group(struct net_bridge *br,if (!br_port_group_equal (p, port, src))continue ; +if (p->flags &MDB_PG_FLAGS_PERMANENT ) +break ; +rcu_assign_pointer (*pp, p->next);hlist_del_init (&p->mglist);del_timer (&p->timer);
net/bridge/br_private.h +5 -4
@@ -893,8 +893,8 @@ int nbp_get_num_vlan_infos(struct net_bridge_port *p, u32 filter_mask);void br_vlan_get_stats (const struct net_bridge_vlan *v,struct br_vlan_stats *stats);void br_vlan_port_event (struct net_bridge_port *p,unsigned long event); -void br_vlan_bridge_event (struct net_device *dev,unsigned long event, -void *ptr); +int br_vlan_bridge_event (struct net_device *dev,unsigned long event, +void *ptr);static inline struct net_bridge_vlan_group *br_vlan_group (const struct net_bridge *br)
@@ -1084,9 +1084,10 @@ static inline void br_vlan_port_event(struct net_bridge_port *p, { } -static inline void br_vlan_bridge_event (struct net_device *dev, -unsigned long event,void *ptr) +static inline int br_vlan_bridge_event (struct net_device *dev, +unsigned long event,void *ptr) { +return 0 ; }#endif
net/bridge/br_vlan.c +16 -13
@@ -1043,7 +1043,6 @@ int br_vlan_init(struct net_bridge *br) {struct net_bridge_vlan_group *vg;int ret = -ENOMEM ; -bool changed; vg =kzalloc (sizeof (*vg),GFP_KERNEL );if (!vg)
@@ -1058,17 +1057,10 @@ int br_vlan_init(struct net_bridge *br) br->vlan_proto =htons (ETH_P_8021Q ); br->default_pvid =1 ;rcu_assign_pointer (br->vlgrp, vg); - ret =br_vlan_add (br,1 , -BRIDGE_VLAN_INFO_PVID |BRIDGE_VLAN_INFO_UNTAGGED | -BRIDGE_VLAN_INFO_BRENTRY , &changed,NULL ); -if (ret) - goto err_vlan_add; out:return ret; -err_vlan_add: -vlan_tunnel_deinit (vg); err_tunnel_init:rhashtable_destroy (&vg->vlan_hash); err_rhtbl:
@@ -1443,13 +1435,23 @@ static void nbp_vlan_set_vlan_dev_state(struct net_bridge_port *p, u16 vid) }/* Must be protected by RTNL. */ -void br_vlan_bridge_event (struct net_device *dev,unsigned long event, -void *ptr) +int br_vlan_bridge_event (struct net_device *dev,unsigned long event,void *ptr) {struct netdev_notifier_changeupper_info *info; -struct net_bridge *br; +struct net_bridge *br =netdev_priv (dev); +bool changed; +int ret =0 ;switch (event) { +case NETDEV_REGISTER : + ret =br_vlan_add (br, br->default_pvid, +BRIDGE_VLAN_INFO_PVID | +BRIDGE_VLAN_INFO_UNTAGGED | +BRIDGE_VLAN_INFO_BRENTRY , &changed,NULL ); +break ; +case NETDEV_UNREGISTER : +br_vlan_delete (br, br->default_pvid); +break ;case NETDEV_CHANGEUPPER : info = ptr;br_vlan_upper_change (dev, info->upper_dev, info->linking);
@@ -1457,12 +1459,13 @@ void br_vlan_bridge_event(struct net_device *dev, unsigned long event,case NETDEV_CHANGE :case NETDEV_UP : - br =netdev_priv (dev);if (!br_opt_get (br,BROPT_VLAN_BRIDGE_BINDING )) -return ; +break ;br_vlan_link_state_change (dev, br);break ; } + +return ret; }/* Must be protected by RTNL. */
net/core/dev.c +12 -5
@@ -4382,12 +4382,17 @@ static u32 netif_receive_generic_xdp(struct sk_buff *skb, act =bpf_prog_run_xdp (xdp_prog, xdp); +/* check if bpf_xdp_adjust_head was used */ off = xdp->data - orig_data; -if (off >0 ) -__skb_pull (skb, off); -else if (off <0 ) -__skb_push (skb, -off); - skb->mac_header += off; +if (off) { +if (off >0 ) +__skb_pull (skb, off); +else if (off <0 ) +__skb_push (skb, -off); + + skb->mac_header += off; +skb_reset_network_header (skb); + }/* check if bpf_xdp_adjust_tail was used. it can only "shrink" * pckt.
@@ -9711,6 +9716,8 @@ static void __net_exit default_device_exit(struct net *net)/* Push remaining network devices to init_net */ snprintf (fb_name,IFNAMSIZ ,"dev%d" , dev->ifindex); +if (__dev_get_by_name (&init_net, fb_name)) +snprintf (fb_name,IFNAMSIZ ,"dev%%d" ); err =dev_change_net_namespace (dev, &init_net, fb_name);if (err) { pr_emerg("%s: failed to move %s to init_net: %d\n",
net/ipv4/ipip.c +3 -0
@@ -275,6 +275,9 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb,const struct iphdr *tiph = &tunnel->parms.iph;u8 ipproto; +if (!pskb_inet_may_pull (skb)) + goto tx_error; +switch (skb->protocol) {case htons (ETH_P_IP ): ipproto =IPPROTO_IPIP ;
net/ipv6/ip6_gre.c +2 -1
@@ -660,12 +660,13 @@ static int prepare_ip6gre_xmit_ipv6(struct sk_buff *skb, struct flowi6 *fl6, __u8 *dsfield, int *encap_limit) { - struct ipv6hdr *ipv6h = ipv6_hdr(skb); + struct ipv6hdr *ipv6h;struct ip6_tnl *t =netdev_priv (dev);__u16 offset; offset =ip6_tnl_parse_tlv_enc_lim (skb,skb_network_header (skb));/* ip6_tnl_parse_tlv_enc_lim() might have reallocated skb->head */ + ipv6h =ipv6_hdr (skb);if (offset >0 ) {struct ipv6_tlv_tnl_enc_lim *tel;
net/ipv6/ip6_tunnel.c +2 -4
@@ -1278,12 +1278,11 @@ ip4ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev) } fl6.flowi6_uid =sock_net_uid (dev_net (dev),NULL ); + dsfield =INET_ECN_encapsulate (dsfield,ipv4_get_dsfield (iph));if (iptunnel_handle_offloads (skb,SKB_GSO_IPXIP6 ))return -1 ; - dsfield =INET_ECN_encapsulate (dsfield,ipv4_get_dsfield (iph)); -skb_set_inner_ipproto (skb,IPPROTO_IPIP ); err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu,
@@ -1367,12 +1366,11 @@ ip6ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev) } fl6.flowi6_uid =sock_net_uid (dev_net (dev),NULL ); + dsfield =INET_ECN_encapsulate (dsfield,ipv6_get_dsfield (ipv6h));if (iptunnel_handle_offloads (skb,SKB_GSO_IPXIP6 ))return -1 ; - dsfield =INET_ECN_encapsulate (dsfield,ipv6_get_dsfield (ipv6h)); -skb_set_inner_ipproto (skb,IPPROTO_IPV6 ); err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu,
net/l2tp/l2tp_ppp.c +3 -0
@@ -1681,6 +1681,9 @@ static const struct proto_ops pppol2tp_ops = { .recvmsg = pppol2tp_recvmsg, .mmap = sock_no_mmap, .ioctl = pppox_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = pppox_compat_ioctl, +#endif };static const struct pppox_proto pppol2tp_proto = {
net/mac80211/iface.c +0 -1
@@ -1222,7 +1222,6 @@ static void ieee80211_if_setup(struct net_device *dev)static void ieee80211_if_setup_no_queue (struct net_device *dev) {ieee80211_if_setup (dev); - dev->features |=NETIF_F_LLTX ; dev->priv_flags |=IFF_NO_QUEUE ; }
net/sched/act_bpf.c +5 -4
@@ -285,6 +285,7 @@ static int tcf_bpf_init(struct net *net, struct nlattr *nla,struct tcf_bpf *prog;bool is_bpf, is_ebpf;int ret, res =0 ; +u32 index;if (!nla)return -EINVAL ;
@@ -298,13 +299,13 @@ static int tcf_bpf_init(struct net *net, struct nlattr *nla,return -EINVAL ; parm =nla_data (tb[TCA_ACT_BPF_PARMS ]); - - ret =tcf_idr_check_alloc (tn, &parm->index, act, bind); + index = parm->index; + ret =tcf_idr_check_alloc (tn, &index, act, bind);if (!ret) { - ret =tcf_idr_create (tn, parm->index, est, act, + ret =tcf_idr_create (tn, index, est, act, &act_bpf_ops, bind, true);if (ret <0 ) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; }
net/sched/act_connmark.c +5 -4
@@ -103,6 +103,7 @@ static int tcf_connmark_init(struct net *net, struct nlattr *nla,struct tcf_connmark_info *ci;struct tc_connmark *parm;int ret =0 , err; +u32 index;if (!nla)return -EINVAL ;
@@ -116,13 +117,13 @@ static int tcf_connmark_init(struct net *net, struct nlattr *nla,return -EINVAL ; parm =nla_data (tb[TCA_CONNMARK_PARMS ]); - - ret =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + ret =tcf_idr_check_alloc (tn, &index, a, bind);if (!ret) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_connmark_ops, bind, false);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; }
net/sched/act_csum.c +5 -4
@@ -52,6 +52,7 @@ static int tcf_csum_init(struct net *net, struct nlattr *nla,struct tc_csum *parm;struct tcf_csum *p;int ret =0 , err; +u32 index;if (nla ==NULL )return -EINVAL ;
@@ -64,13 +65,13 @@ static int tcf_csum_init(struct net *net, struct nlattr *nla,if (tb[TCA_CSUM_PARMS ] ==NULL )return -EINVAL ; parm =nla_data (tb[TCA_CSUM_PARMS ]); - - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (!err) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_csum_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; } ret =ACT_P_CREATED ;
net/sched/act_gact.c +5 -3
@@ -61,6 +61,7 @@ static int tcf_gact_init(struct net *net, struct nlattr *nla,struct tc_gact *parm;struct tcf_gact *gact;int ret =0 ; +u32 index;int err;#ifdef CONFIG_GACT_PROB struct tc_gact_p *p_parm =NULL ;
@@ -77,6 +78,7 @@ static int tcf_gact_init(struct net *net, struct nlattr *nla,if (tb[TCA_GACT_PARMS ] ==NULL )return -EINVAL ; parm =nla_data (tb[TCA_GACT_PARMS ]); + index = parm->index;#ifndef CONFIG_GACT_PROB if (tb[TCA_GACT_PROB ] !=NULL )
@@ -94,12 +96,12 @@ static int tcf_gact_init(struct net *net, struct nlattr *nla, }#endif - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + err =tcf_idr_check_alloc (tn, &index, a, bind);if (!err) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_gact_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; } ret =ACT_P_CREATED ;
net/sched/act_ife.c +10 -3
@@ -479,8 +479,14 @@ static int tcf_ife_init(struct net *net, struct nlattr *nla,u8 *saddr =NULL ;bool exists = false;int ret =0 ; +u32 index;int err; +if (!nla) { +NL_SET_ERR_MSG_MOD (extack,"IFE requires attributes to be passed" ); +return -EINVAL ; + } + err =nla_parse_nested_deprecated (tb,TCA_IFE_MAX , nla, ife_policy,NULL );if (err <0 )
@@ -502,7 +508,8 @@ static int tcf_ife_init(struct net *net, struct nlattr *nla,if (!p)return -ENOMEM ; - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 ) {kfree (p);return err;
@@ -514,10 +521,10 @@ static int tcf_ife_init(struct net *net, struct nlattr *nla, }if (!exists) { - ret =tcf_idr_create (tn, parm->index, est, a, &act_ife_ops, + ret =tcf_idr_create (tn, index, est, a, &act_ife_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);kfree (p);return ret; }
net/sched/act_mirred.c +7 -6
@@ -101,6 +101,7 @@ static int tcf_mirred_init(struct net *net, struct nlattr *nla,struct net_device *dev;bool exists = false;int ret, err; +u32 index;if (!nla) {NL_SET_ERR_MSG_MOD (extack,"Mirred requires attributes to be passed" );
@@ -115,8 +116,8 @@ static int tcf_mirred_init(struct net *net, struct nlattr *nla,return -EINVAL ; } parm =nla_data (tb[TCA_MIRRED_PARMS ]); - - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -133,21 +134,21 @@ static int tcf_mirred_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);NL_SET_ERR_MSG_MOD (extack,"Unknown mirred option" );return -EINVAL ; }if (!exists) {if (!parm->ifindex) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);NL_SET_ERR_MSG_MOD (extack,"Specified device does not exist" );return -EINVAL ; } - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_mirred_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; } ret =ACT_P_CREATED ;
net/sched/act_nat.c +5 -4
@@ -44,6 +44,7 @@ static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est,struct tc_nat *parm;int ret =0 , err;struct tcf_nat *p; +u32 index;if (nla ==NULL )return -EINVAL ;
@@ -56,13 +57,13 @@ static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est,if (tb[TCA_NAT_PARMS ] ==NULL )return -EINVAL ; parm =nla_data (tb[TCA_NAT_PARMS ]); - - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (!err) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_nat_ops, bind, false);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; } ret =ACT_P_CREATED ;
net/sched/act_pedit.c +6 -4
@@ -149,6 +149,7 @@ static int tcf_pedit_init(struct net *net, struct nlattr *nla,struct tcf_pedit *p;int ret =0 , err;int ksize; +u32 index;if (!nla) {NL_SET_ERR_MSG_MOD (extack,"Pedit requires attributes to be passed" );
@@ -179,18 +180,19 @@ static int tcf_pedit_init(struct net *net, struct nlattr *nla,if (IS_ERR (keys_ex))return PTR_ERR (keys_ex); - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (!err) {if (!parm->nkeys) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);NL_SET_ERR_MSG_MOD (extack,"Pedit requires keys to be passed" ); ret = -EINVAL ; goto out_free; } - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_pedit_ops, bind, false);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index); goto out_free; } ret =ACT_P_CREATED ;
net/sched/act_police.c +5 -3
@@ -57,6 +57,7 @@ static int tcf_police_init(struct net *net, struct nlattr *nla,struct tc_action_net *tn =net_generic (net, police_net_id);struct tcf_police_params *new;bool exists = false; +u32 index;if (nla ==NULL )return -EINVAL ;
@@ -73,7 +74,8 @@ static int tcf_police_init(struct net *net, struct nlattr *nla,return -EINVAL ; parm =nla_data (tb[TCA_POLICE_TBF ]); - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -81,10 +83,10 @@ static int tcf_police_init(struct net *net, struct nlattr *nla,return 0 ;if (!exists) { - ret =tcf_idr_create (tn, parm->index,NULL , a, + ret =tcf_idr_create (tn, index,NULL , a, &act_police_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; } ret =ACT_P_CREATED ;
net/sched/act_sample.c +5 -5
@@ -41,8 +41,8 @@ static int tcf_sample_init(struct net *net, struct nlattr *nla,struct tc_action_net *tn =net_generic (net, sample_net_id);struct nlattr *tb[TCA_SAMPLE_MAX +1 ];struct psample_group *psample_group; +u32 psample_group_num, rate, index;struct tcf_chain *goto_ch =NULL ; -u32 psample_group_num, rate;struct tc_sample *parm;struct tcf_sample *s;bool exists = false;
@@ -59,8 +59,8 @@ static int tcf_sample_init(struct net *net, struct nlattr *nla,return -EINVAL ; parm =nla_data (tb[TCA_SAMPLE_PARMS ]); - - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -68,10 +68,10 @@ static int tcf_sample_init(struct net *net, struct nlattr *nla,return 0 ;if (!exists) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_sample_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; } ret =ACT_P_CREATED ;
net/sched/act_simple.c +6 -4
@@ -95,6 +95,7 @@ static int tcf_simp_init(struct net *net, struct nlattr *nla,struct tcf_defact *d;bool exists = false;int ret =0 , err; +u32 index;if (nla ==NULL )return -EINVAL ;
@@ -108,7 +109,8 @@ static int tcf_simp_init(struct net *net, struct nlattr *nla,return -EINVAL ; parm =nla_data (tb[TCA_DEF_PARMS ]); - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -119,15 +121,15 @@ static int tcf_simp_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return -EINVAL ; }if (!exists) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_simp_ops, bind, false);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; }
net/sched/act_skbedit.c +6 -5
@@ -99,6 +99,7 @@ static int tcf_skbedit_init(struct net *net, struct nlattr *nla,u16 *queue_mapping =NULL , *ptype =NULL ;bool exists = false;int ret =0 , err; +u32 index;if (nla ==NULL )return -EINVAL ;
@@ -146,8 +147,8 @@ static int tcf_skbedit_init(struct net *net, struct nlattr *nla, } parm =nla_data (tb[TCA_SKBEDIT_PARMS ]); - - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -158,15 +159,15 @@ static int tcf_skbedit_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return -EINVAL ; }if (!exists) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_skbedit_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; }
net/sched/act_skbmod.c +6 -5
@@ -87,12 +87,12 @@ static int tcf_skbmod_init(struct net *net, struct nlattr *nla,struct tcf_skbmod_params *p, *p_old;struct tcf_chain *goto_ch =NULL ;struct tc_skbmod *parm; +u32 lflags =0 , index;struct tcf_skbmod *d;bool exists = false;u8 *daddr =NULL ;u8 *saddr =NULL ;u16 eth_type =0 ; -u32 lflags =0 ;int ret =0 , err;if (!nla)
@@ -122,10 +122,11 @@ static int tcf_skbmod_init(struct net *net, struct nlattr *nla, } parm =nla_data (tb[TCA_SKBMOD_PARMS ]); + index = parm->index;if (parm->flags &SKBMOD_F_SWAPMAC ) lflags =SKBMOD_F_SWAPMAC ; - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -136,15 +137,15 @@ static int tcf_skbmod_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return -EINVAL ; }if (!exists) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_skbmod_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; }
net/sched/act_tunnel_key.c +5 -3
@@ -225,6 +225,7 @@ static int tunnel_key_init(struct net *net, struct nlattr *nla,__be16 flags =0 ;u8 tos, ttl;int ret =0 ; +u32 index;int err;if (!nla) {
@@ -245,7 +246,8 @@ static int tunnel_key_init(struct net *net, struct nlattr *nla, } parm =nla_data (tb[TCA_TUNNEL_KEY_PARMS ]); - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -345,7 +347,7 @@ static int tunnel_key_init(struct net *net, struct nlattr *nla, }if (!exists) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_tunnel_key_ops, bind, true);if (ret) {NL_SET_ERR_MSG (extack,"Cannot create TC IDR" );
@@ -403,7 +405,7 @@ static int tunnel_key_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; }
net/sched/act_vlan.c +18 -7
@@ -116,6 +116,7 @@ static int tcf_vlan_init(struct net *net, struct nlattr *nla,u8 push_prio =0 ;bool exists = false;int ret =0 , err; +u32 index;if (!nla)return -EINVAL ;
@@ -128,7 +129,8 @@ static int tcf_vlan_init(struct net *net, struct nlattr *nla,if (!tb[TCA_VLAN_PARMS ])return -EINVAL ; parm =nla_data (tb[TCA_VLAN_PARMS ]); - err =tcf_idr_check_alloc (tn, &parm->index, a, bind); + index = parm->index; + err =tcf_idr_check_alloc (tn, &index, a, bind);if (err <0 )return err; exists = err;
@@ -144,7 +146,7 @@ static int tcf_vlan_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return -EINVAL ; } push_vid =nla_get_u16 (tb[TCA_VLAN_PUSH_VLAN_ID ]);
@@ -152,7 +154,7 @@ static int tcf_vlan_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return -ERANGE ; }
@@ -166,7 +168,7 @@ static int tcf_vlan_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return -EPROTONOSUPPORT ; } }else {
@@ -180,16 +182,16 @@ static int tcf_vlan_init(struct net *net, struct nlattr *nla,if (exists)tcf_idr_release (*a, bind);else -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return -EINVAL ; } action = parm->v_action;if (!exists) { - ret =tcf_idr_create (tn, parm->index, est, a, + ret =tcf_idr_create (tn, index, est, a, &act_vlan_ops, bind, true);if (ret) { -tcf_idr_cleanup (tn, parm->index); +tcf_idr_cleanup (tn, index);return ret; }
@@ -306,6 +308,14 @@ static int tcf_vlan_search(struct net *net, struct tc_action **a, u32 index)return tcf_idr_search (tn, a, index); } +static size_t tcf_vlan_get_fill_size (const struct tc_action *act) +{ +return nla_total_size (sizeof (struct tc_vlan )) + +nla_total_size (sizeof (u16))/* TCA_VLAN_PUSH_VLAN_ID */ + +nla_total_size (sizeof (u16))/* TCA_VLAN_PUSH_VLAN_PROTOCOL */ + +nla_total_size (sizeof (u8));/* TCA_VLAN_PUSH_VLAN_PRIORITY */ +} +static struct tc_action_ops act_vlan_ops = { .kind ="vlan" , .id =TCA_ID_VLAN ,
@@ -315,6 +325,7 @@ static struct tc_action_ops act_vlan_ops = { .init = tcf_vlan_init, .cleanup = tcf_vlan_cleanup, .walk = tcf_vlan_walker, + .get_fill_size = tcf_vlan_get_fill_size, .lookup = tcf_vlan_search, .size = sizeof(struct tcf_vlan), };
net/sched/sch_codel.c +3 -3
@@ -71,10 +71,10 @@ static struct sk_buff *dequeue_func(struct codel_vars *vars, void *ctx)struct Qdisc *sch = ctx;struct sk_buff *skb =__qdisc_dequeue_head (&sch->q); -if (skb) +if (skb) { sch->qstats.backlog -=qdisc_pkt_len (skb); - -prefetch (&skb->end);/* we'll need skb_shinfo() */ +prefetch (&skb->end);/* we'll need skb_shinfo() */ + }return skb; }
net/smc/af_smc.c +10 -5
@@ -253,7 +253,7 @@ static int smc_bind(struct socket *sock, struct sockaddr *uaddr,/* Check if socket is already active */ rc = -EINVAL ; -if (sk->sk_state !=SMC_INIT ) +if (sk->sk_state !=SMC_INIT || smc->connect_nonblock) goto out_rel; smc->clcsock->sk->sk_reuse = sk->sk_reuse;
@@ -1399,7 +1399,8 @@ static int smc_listen(struct socket *sock, int backlog)lock_sock (sk); rc = -EINVAL ; -if ((sk->sk_state !=SMC_INIT ) && (sk->sk_state !=SMC_LISTEN )) +if ((sk->sk_state !=SMC_INIT && sk->sk_state !=SMC_LISTEN ) || + smc->connect_nonblock) goto out; rc =0 ;
@@ -1527,7 +1528,7 @@ static int smc_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) goto out;if (msg->msg_flags &MSG_FASTOPEN ) { -if (sk->sk_state ==SMC_INIT ) { +if (sk->sk_state ==SMC_INIT && !smc->connect_nonblock) {smc_switch_to_fallback (smc); smc->fallback_rsn =SMC_CLC_DECL_OPTUNSUPP ; }else {
@@ -1741,14 +1742,18 @@ static int smc_setsockopt(struct socket *sock, int level, int optname, }break ;case TCP_NODELAY : -if (sk->sk_state !=SMC_INIT && sk->sk_state !=SMC_LISTEN ) { +if (sk->sk_state !=SMC_INIT && + sk->sk_state !=SMC_LISTEN && + sk->sk_state !=SMC_CLOSED ) {if (val && !smc->use_fallback)mod_delayed_work (system_wq, &smc->conn.tx_work,0 ); }break ;case TCP_CORK : -if (sk->sk_state !=SMC_INIT && sk->sk_state !=SMC_LISTEN ) { +if (sk->sk_state !=SMC_INIT && + sk->sk_state !=SMC_LISTEN && + sk->sk_state !=SMC_CLOSED ) {if (!val && !smc->use_fallback)mod_delayed_work (system_wq, &smc->conn.tx_work,0 );
net/tipc/netlink_compat.c +7 -4
@@ -55,6 +55,7 @@ struct tipc_nl_compat_msg {int rep_type;int rep_size;int req_type; +int req_size;struct net *net;struct sk_buff *rep;struct tlv_desc *req;
@@ -257,7 +258,8 @@ static int tipc_nl_compat_dumpit(struct tipc_nl_compat_cmd_dump *cmd,int err;struct sk_buff *arg; -if (msg->req_type && !TLV_CHECK_TYPE (msg->req, msg->req_type)) +if (msg->req_type && (!msg->req_size || + !TLV_CHECK_TYPE (msg->req, msg->req_type)))return -EINVAL ; msg->rep =tipc_tlv_alloc (msg->rep_size);
@@ -354,7 +356,8 @@ static int tipc_nl_compat_doit(struct tipc_nl_compat_cmd_doit *cmd, {int err; -if (msg->req_type && !TLV_CHECK_TYPE (msg->req, msg->req_type)) +if (msg->req_type && (!msg->req_size || + !TLV_CHECK_TYPE (msg->req, msg->req_type)))return -EINVAL ; err =__tipc_nl_compat_doit (cmd, msg);
@@ -1288,8 +1291,8 @@ static int tipc_nl_compat_recv(struct sk_buff *skb, struct genl_info *info) goto send; } - len =nlmsg_attrlen (req_nlh,GENL_HDRLEN +TIPC_GENL_HDRLEN ); -if (!len || !TLV_OK (msg.req, len)) { + msg.req_size =nlmsg_attrlen (req_nlh,GENL_HDRLEN +TIPC_GENL_HDRLEN ); +if (msg.req_size && !TLV_OK (msg.req, msg.req_size)) { msg.rep =tipc_get_err_tlv (TIPC_CFG_NOT_SUPPORTED ); err = -EOPNOTSUPP ; goto send;
net/tipc/socket.c +1 -2
@@ -485,9 +485,8 @@ static int tipc_sk_create(struct net *net, struct socket *sock,tsk_set_unreturnable (tsk, true);if (sock->type ==SOCK_DGRAM )tsk_set_unreliable (tsk, true); -__skb_queue_head_init (&tsk->mc_method.deferredq); } - +__skb_queue_head_init (&tsk->mc_method.deferredq);trace_tipc_sk_create (sk,NULL ,TIPC_DUMP_NONE ," " );return 0 ; }
net/vmw_vsock/hyperv_transport.c +8 -0
@@ -311,6 +311,11 @@ static void hvs_close_connection(struct vmbus_channel *chan)lock_sock (sk);hvs_do_close_lock_held (vsock_sk (sk), true);release_sock (sk); + +/* Release the refcnt for the channel that's opened in +* hvs_open_connection(). +*/ +sock_put (sk); }static void hvs_open_connection (struct vmbus_channel *chan)
@@ -378,6 +383,9 @@ static void hvs_open_connection(struct vmbus_channel *chan) }set_per_channel_state (chan, conn_from_host ? new : sk); + +/* This reference will be dropped by hvs_close_connection(). */ +sock_hold (conn_from_host ? new : sk);vmbus_set_chn_rescind_callback (chan, hvs_close_connection);/* Set the pending send size to max packet size to always get
sound/usb/helper.c +17 -0
@@ -63,6 +63,20 @@ void *snd_usb_find_csint_desc(void *buffer, int buflen, void *after, u8 dsubtypereturn NULL ; } +/* check the validity of pipe and EP types */ +int snd_usb_pipe_sanity_check (struct usb_device *dev,unsigned int pipe) +{ +static const int pipetypes[4 ] = { +PIPE_CONTROL ,PIPE_ISOCHRONOUS ,PIPE_BULK ,PIPE_INTERRUPT + }; +struct usb_host_endpoint *ep; + + ep =usb_pipe_endpoint (dev, pipe); +if (!ep ||usb_pipetype (pipe) != pipetypes[usb_endpoint_type (&ep->desc)]) +return -EINVAL ; +return 0 ; +} +/* * Wrapper for usb_control_msg(). * Allocates a temp buffer to prevent dmaing from/to the stack.
@@ -75,6 +89,9 @@ int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request,void *buf =NULL ;int timeout; +if (snd_usb_pipe_sanity_check (dev, pipe)) +return -EINVAL ; +if (size >0 ) { buf =kmemdup (data, size,GFP_KERNEL );if (!buf)
sound/usb/helper.h +1 -0
@@ -7,6 +7,7 @@ unsigned int snd_usb_combine_bytes(unsigned char *bytes, int size);void *snd_usb_find_desc (void *descstart,int desclen,void *after,u8 dtype);void *snd_usb_find_csint_desc (void *descstart,int desclen,void *after,u8 dsubtype); +int snd_usb_pipe_sanity_check (struct usb_device *dev,unsigned int pipe);int snd_usb_ctl_msg (struct usb_device *dev,unsigned int pipe,__u8 request,__u8 requesttype,__u16 value,__u16 index,void *data,__u16 size);
sound/usb/quirks.c +15 -3
@@ -828,11 +828,13 @@ static int snd_usb_novation_boot_quirk(struct usb_device *dev)static int snd_usb_accessmusic_boot_quirk (struct usb_device *dev) {int err, actual_length; -/* "midi send" enable */ static const u8 seq[] = {0x4e ,0x73 ,0x52 ,0x01 }; +void *buf; -void *buf =kmemdup (seq,ARRAY_SIZE (seq),GFP_KERNEL ); +if (snd_usb_pipe_sanity_check (dev,usb_sndintpipe (dev,0x05 ))) +return -EINVAL ; + buf =kmemdup (seq,ARRAY_SIZE (seq),GFP_KERNEL );if (!buf)return -ENOMEM ; err = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x05), buf,
@@ -857,7 +859,11 @@ static int snd_usb_accessmusic_boot_quirk(struct usb_device *dev)static int snd_usb_nativeinstruments_boot_quirk (struct usb_device *dev) { -int ret =usb_control_msg (dev,usb_sndctrlpipe (dev,0 ), +int ret; + +if (snd_usb_pipe_sanity_check (dev,usb_sndctrlpipe (dev,0 ))) +return -EINVAL ; + ret =usb_control_msg (dev,usb_sndctrlpipe (dev,0 ),0xaf ,USB_TYPE_VENDOR |USB_RECIP_DEVICE ,1 ,0 ,NULL ,0 ,1000 );
@@ -964,6 +970,8 @@ static int snd_usb_axefx3_boot_quirk(struct usb_device *dev)dev_dbg (&dev->dev,"Waiting for Axe-Fx III to boot up...\n" ); +if (snd_usb_pipe_sanity_check (dev,usb_sndctrlpipe (dev,0 ))) +return -EINVAL ;/* If the Axe-Fx III has not fully booted, it will timeout when trying * to enable the audio streaming interface. A more generous timeout is * used here to detect when the Axe-Fx III has finished booting as the
@@ -996,6 +1004,8 @@ static int snd_usb_motu_microbookii_communicate(struct usb_device *dev, u8 *buf, {int err, actual_length; +if (snd_usb_pipe_sanity_check (dev,usb_sndintpipe (dev,0x01 ))) +return -EINVAL ; err =usb_interrupt_msg (dev,usb_sndintpipe (dev,0x01 ), buf, *length, &actual_length,1000 );if (err <0 )
@@ -1006,6 +1016,8 @@ static int snd_usb_motu_microbookii_communicate(struct usb_device *dev, u8 *buf,memset (buf,0 , buf_size); +if (snd_usb_pipe_sanity_check (dev,usb_rcvintpipe (dev,0x82 ))) +return -EINVAL ; err =usb_interrupt_msg (dev,usb_rcvintpipe (dev,0x82 ), buf, buf_size, &actual_length,1000 );if (err <0 )
tools/testing/selftests/bpf/Makefile +2 -1
@@ -51,7 +51,8 @@ TEST_PROGS := test_kmod.sh \ test_lirc_mode2.sh \ test_skb_cgroup_id.sh \ test_flow_dissector.sh \ - test_xdp_vlan.sh \ + test_xdp_vlan_mode_generic.sh \ + test_xdp_vlan_mode_native.sh \ test_lwt_ip_encap.sh \ test_tcp_check_syncookie.sh \ test_tc_tunnel.sh \
tools/testing/selftests/bpf/test_xdp_vlan.sh +45 -12
112 lines not on this page · raw message
tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh new file +9 -0
@@ -0,0 +1,9 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# Exit on failure +set -e + +# Wrapper script to test generic-XDP +export TESTNAME=xdp_vlan_mode_generic +./test_xdp_vlan.sh --mode=xdpgeneric
tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh new file +9 -0
@@ -0,0 +1,9 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# Exit on failure +set -e + +# Wrapper script to test native-XDP +export TESTNAME=xdp_vlan_mode_native +./test_xdp_vlan.sh --mode=xdpdrv
Thanks, a bunch Greg! :)
Quoted 248 lines · Greg KH
I'm announcing the release of the 5.2.8 kernel.
All users of the 5.2 kernel series must upgrade.
The updated 5.2.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-5.2.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
------------
Makefile | 2 drivers/atm/iphase.c | 8 + drivers/gpu/drm/i915/intel_bios.c | 2 drivers/gpu/drm/i915/intel_vbt_defs.h | 6 - drivers/hid/hid-ids.h | 1 drivers/hid/hid-quirks.c | 1 drivers/hid/wacom_wac.c | 12 +- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 drivers/net/ethernet/marvell/mvmdio.c | 28 ++++- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 46 ++------ drivers/net/ethernet/mellanox/mlx5/core/dev.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en/port.c | 27 +++-- drivers/net/ethernet/mellanox/mlx5/core/en/port.h | 6 - drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 67 ++++++++---- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 5 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 4 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | 5 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c | 5 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 4 drivers/net/ethernet/mscc/ocelot.c | 1 drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h | 2 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c | 13 +- drivers/net/ethernet/realtek/r8169.c | 9 + drivers/net/ethernet/rocker/rocker_main.c | 1 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 5 drivers/net/phy/fixed_phy.c | 6 - drivers/net/phy/mscc.c | 16 +-- drivers/net/phy/phy_device.c | 6 + drivers/net/phy/phylink.c | 10 + drivers/net/ppp/pppoe.c | 3 drivers/net/ppp/pppox.c | 13 ++ drivers/net/ppp/pptp.c | 3 drivers/net/tun.c | 9 + drivers/nfc/nfcmrvl/main.c | 4 drivers/nfc/nfcmrvl/uart.c | 4 drivers/nfc/nfcmrvl/usb.c | 1 drivers/nvdimm/bus.c | 73 ++++++++------ drivers/nvdimm/region_devs.c | 4 drivers/scsi/fcoe/fcoe_ctlr.c | 51 +++------ drivers/scsi/libfc/fc_rport.c | 5 drivers/spi/spi-bcm2835.c | 3 fs/compat_ioctl.c | 3 include/linux/if_pppox.h | 3 include/linux/mlx5/fs.h | 1 include/linux/mlx5/mlx5_ifc.h | 6 - include/scsi/libfcoe.h | 1 net/bridge/br.c | 5 net/bridge/br_multicast.c | 3 net/bridge/br_private.h | 9 - net/bridge/br_vlan.c | 29 +++-- net/core/dev.c | 17 ++- net/ipv4/ipip.c | 3 net/ipv6/ip6_gre.c | 3 net/ipv6/ip6_tunnel.c | 6 - net/l2tp/l2tp_ppp.c | 3 net/mac80211/iface.c | 1 net/sched/act_bpf.c | 9 - net/sched/act_connmark.c | 9 - net/sched/act_csum.c | 9 - net/sched/act_gact.c | 8 - net/sched/act_ife.c | 13 +- net/sched/act_mirred.c | 13 +- net/sched/act_nat.c | 9 - net/sched/act_pedit.c | 10 + net/sched/act_police.c | 8 - net/sched/act_sample.c | 10 - net/sched/act_simple.c | 10 + net/sched/act_skbedit.c | 11 +- net/sched/act_skbmod.c | 11 +- net/sched/act_tunnel_key.c | 8 - net/sched/act_vlan.c | 25 +++- net/sched/sch_codel.c | 6 - net/smc/af_smc.c | 15 +- net/tipc/netlink_compat.c | 11 +- net/tipc/socket.c | 3 net/vmw_vsock/hyperv_transport.c | 8 + sound/usb/helper.c | 17 +++ sound/usb/helper.h | 1 sound/usb/quirks.c | 18 ++- tools/testing/selftests/bpf/Makefile | 3 tools/testing/selftests/bpf/test_xdp_vlan.sh | 57 ++++++++-- tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh | 9 + tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh | 9 + 84 files changed, 578 insertions(+), 313 deletions(-)Aaron Armstrong Skomra (1):
HID: wacom: fix bit shift for Cintiq Companion 2Alexis Bauvin (1):
tun: mark small packets as owned by the tap sockAndreas Schwab (1):
net: phy: mscc: initialize stats arrayAriel Levkovich (1):
net/mlx5e: Prevent encap flow counter update async to user queryArnaud Patard (1):
drivers/net/ethernet/marvell/mvmdio.c: Fix non OF caseArnd Bergmann (1):
compat_ioctl: pppoe: fix PPPOEIOCSFWD handlingArseny Solokha (1):
net: phylink: don't start and stop SGMII PHYs in SFP modules twiceAya Levin (1):
net/mlx5e: Fix matching of speed to PRM link modesClaudiu Manoil (1):
ocelot: Cancel delayed work before wq destructionColin Ian King (1):
rocker: fix memory leaks offib_workon two error return pathsCong Wang (1):
ife: error out when nla attributes are emptyDan Williams (2):
libnvdimm/bus: Prepare thend_ioctl()path to be re-entrant libnvdimm/bus: Fixwait_nvdimm_bus_probe_idle()ABBA deadlockDexuan Cui (1):
hv_sock: Fix hang when a connection is closedDhinakaran Pandiyan (1):
drm/i915/vbt: Fix VBT parsing for the PSR sectionDmytro Linkin (1):
net: sched: use temporary variable for actions indexesEdward Srouji (1):
net/mlx5: Fixmodify_cq_inalignmentFrode Isaksen (1):
net: stmmac: Usenetif_tx_napi_add()for TX polling functionGreg Kroah-Hartman (1):
Linux 5.2.8Gustavo A. R. Silva (1):
atm: iphase: Fix Spectre v1 vulnerabilityHaishuang Yan (3):
ip6_gre: reload ipv6h inprepare_ip6gre_xmit_ipv6
ip6_tunnel: fix possible use-after-free on xmit
ipip: validate header length inipip_tunnel_xmitHannes Reinecke (1):
scsi: fcoe: Embedfc_rport_privinfcoe_rportstructureHeiner Kallweit (2):
r8169: don't use MSI before RTL8168d
net: phy: fix race ingenphy_update_linkHillf Danton (1):
ALSA: usb-audio: Fix gpf insnd_usb_pipe_sanity_checkHubert Feurstein (1):
net: phy:fixed_phy: print gpio error only if gpio node is presentJesper Dangaard Brouer (4):
bpf: fix XDP vlan selfteststest_xdp_vlan.shselftests/bpf: add wrapper scripts fortest_xdp_vlan.shselftests/bpf: reduce time to executetest_xdp_vlan.sh
net: fixbpf_xdp_adjust_headregression for generic-XDPJia-Ju Bai (1):
net: sched: Fix a possible null-pointer dereference indequeue_func()Jiri Pirko (2):
mlxsw: spectrum: Fix error path inmlxsw_sp_module_init()
net: fix ifindex collision during namespace removalJohan Hovold (1):
NFC: nfcmrvl: fix gpio-handling regressionJohannes Berg (1):
Revert "mac80211: setNETIF_F_LLTXwhen using intermediate tx queues"Jon Maloy (1):
tipc: fix unitilized skb list crashLukas Wunner (1):
spi: bcm2835: Fix 3-wire mode if DMA is enabledMaor Gottlieb (1):
net/mlx5: Add missingRDMA_RXcapabilitiesMark Zhang (1):
net/mlx5: Use reversed order when unregister devicesMatteo Croce (2):
mvpp2: fix panic on module removal
mvpp2: refactor MTU change codeNikolay Aleksandrov (3):
net: bridge: delete local fdb on device init failure
net: bridge: mcast: don't delete permanent entries when fast leave is enabled
net: bridge: move default pvid init/deinit to NETDEV_REGISTER/UNREGISTERPetr Machata (1):
mlxsw:spectrum_buffers: Further reduce pool size on Spectrum-2Qian Cai (1):
net/mlx5e: always initialize frag->last_in_pageRené van Dorst (1):
net: phylink: Fix flow control for fixed-linkRoman Mashak (1):
net sched: update vlan action for batched events operationsSebastian Parschauer (1):
HID: Add quirk for HP X1200 PIXART OEM mouseSubash Abhinov Kasiviswanathan (1):
net: qualcomm: rmnet: Fix incorrect UL checksum offload logicSudarsana Reddy Kalluru (1):
bnx2x: Disable multi-cos feature.Takashi Iwai (1):
ALSA: usb-audio: Sanity checks for each pipe and EP typesTaras Kondratiuk (1):
tipc: compat: allow tipc commands without argumentsUrsula Braun (2):
net/smc: do not scheduletx_workinSMC_CLOSEDstate net/smc: avoid fallback in case of non-blocking connect