Re: [PATCH net-next] net/mlx4: simplify the return expression of mlx4_init_srq_table()

2020-12-10 Thread David Miller
From: Zheng Yongjun Date: Thu, 10 Dec 2020 21:50:00 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: stmmac: simplify the return tc_delete_knode()

2020-12-10 Thread David Miller
From: Zheng Yongjun Date: Thu, 10 Dec 2020 21:48:33 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied, thanks.

Re: pull-request: can-next 2020-12-10

2020-12-10 Thread David Miller
From: Marc Kleine-Budde Date: Thu, 10 Dec 2020 10:55:00 +0100 > Hello Jakub, hello David, > > here's a pull request of 7 patches for net-next/master. > > The first patch is by Oliver Hartkopp for the CAN ISOTP, which adds support > for > functional addressing. > > A patch by Antonio Quartulli

Re: [PATCH] vxlan: avoid double unlikely() notation when using IS_ERR()

2020-12-10 Thread David Miller
From: Antonio Quartulli Date: Thu, 10 Dec 2020 09:55:49 +0100 > The definition of IS_ERR() already applies the unlikely() notation > when checking the error status of the passed pointer. For this > reason there is no need to have the same notation outside of > IS_ERR() itself. > > Clean up code

Re: [PATCH v3] MAINTAINERS: Add entry for Marvell Prestera Ethernet Switch driver

2020-12-09 Thread David Miller
From: Mickey Rachamim Date: Wed, 9 Dec 2020 15:47:39 +0200 > Add maintainers info for new Marvell Prestera Ethernet switch driver. > > Signed-off-by: Mickey Rachamim > --- > 1. Update +W to link to the project source github page. > 2. Remove +L as inherited from the entry of networking drivers.

Re: [PATCH net-next 0/7] net: hns3: updates for -next

2020-12-09 Thread David Miller
From: Huazhong Tan Date: Thu, 10 Dec 2020 11:42:05 +0800 > This patchset adds support for tc mqprio offload, hw tc > offload of tc flower, and adpation for max rss size changes. ZSeries applied, thanks.

Re: [PATCH net-next] nfp: silence set but not used warning with IPV6=n

2020-12-09 Thread David Miller
From: Jakub Kicinski Date: Wed, 9 Dec 2020 08:18:21 -0800 > Test robot reports: > > drivers/net/ethernet/netronome/nfp/crypto/tls.c: In function > 'nfp_net_tls_rx_resync_req': > drivers/net/ethernet/netronome/nfp/crypto/tls.c:477:18: warning: variable > 'ipv6h' set but not used [-Wunused-but-

Re: [PATCH v2 net-next 1/1] net: stmmac: allow stmmac to probe for C45 PHY devices

2020-12-09 Thread David Miller
From: Wong Vee Khee Date: Thu, 10 Dec 2020 06:47:00 +0800 > Assign stmmac's mdio_bus probe capabilities to MDIOBUS_C22_C45. > This extended the probing of C45 PHY devices on the MDIO bus. > > Signed-off-by: Wong Vee Khee > --- > v2 changelog: > - Added conditional check for gmac4. Applied, tha

Re: [PATCH RESEND net-next 0/2] Add support for VSOL V2801F/CarlitoxxPro CPGOS03 GPON module

2020-12-09 Thread David Miller
From: Russell King - ARM Linux admin Date: Wed, 9 Dec 2020 11:21:52 + > Hi, > > This patch set adds support for the V2801F / CarlitoxxPro module. This > requires two changes: > > 1) the module only supports single byte reads to the ID EEPROM, >while we need to still permit sequential re

Re: [PATCH net-next] net: x25: Fix handling of Restart Request and Restart Confirmation

2020-12-09 Thread David Miller
From: Xie He Date: Wed, 9 Dec 2020 00:16:04 -0800 > 1. When the x25 module gets loaded, layer 2 may already be running and > connected. In this case, although we are in X25_LINK_STATE_0, we still > need to handle the Restart Request received, rather than ignore it. > > 2. When we are in X25_LIN

Re: [PATCH net-next 0/3] mptcp: a bunch of fixes

2020-12-09 Thread David Miller
From: Paolo Abeni Date: Wed, 9 Dec 2020 12:03:28 +0100 > This series includes a few fixes following-up the > recent code refactor for the MPTCP RX and TX paths. > > Boundling them together, since the fixes are somewhat > related. Series applied, thanks.

Re: [PATCH net-next v2] net: hdlc_x25: Remove unnecessary skb_reset_network_header calls

2020-12-09 Thread David Miller
From: Xie He Date: Tue, 8 Dec 2020 17:40:13 -0800 > 1. In x25_xmit, skb_reset_network_header is not necessary before we call > lapb_data_request. The lapb module doesn't need skb->network_header. > So there is no need to set skb->network_header before calling > lapb_data_request. > > 2. In x25_

Re: [PATCH v2 net-next] net/mlx4: simplify the return expression of mlx4_init_cq_table()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 09:20:02 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] ibmvnic: fix rx buffer tracking and index management in replenish_rx_pool partial success

2020-12-09 Thread David Miller
From: Dany Madden Date: Wed, 9 Dec 2020 20:53:31 -0500 > From: "Dwip N. Banerjee" > > We observed that in the error case for batched send_subcrq_indirect() the > driver does not account for the partial success case. This caused Linux to > crash when free_map and pool index are inconsistent. >

Re: [PATCH net-next 00/11] mptcp: Add port parameter to ADD_ADDR option

2020-12-09 Thread David Miller
From: Mat Martineau Date: Wed, 9 Dec 2020 15:51:17 -0800 > The ADD_ADDR MPTCP option is used to announce available IP addresses > that a peer may connect to when adding more TCP subflows to an existing > MPTCP connection. There is an optional port number field in that > ADD_ADDR header, and this

Re: [PATCH net 0/4] Netfilter fixes for net

2020-12-09 Thread David Miller
From: Pablo Neira Ayuso Date: Wed, 9 Dec 2020 23:18:06 +0100 > Hi Jakub, David, > > The following patchset contains Netfilter fixes for net: > > 1) Switch to RCU in x_tables to fix possible NULL pointer dereference, >from Subash Abhinov Kasiviswanathan. > > 2) Fix netlink dump of dynset t

Re: [net-next v4 0/9][pull request] 100GbE Intel Wired LAN Driver Updates 2020-12-09

2020-12-09 Thread David Miller
From: Tony Nguyen Date: Wed, 9 Dec 2020 13:13:03 -0800 > This series contains updates to ice driver only. > > Bruce changes the allocation of ice_flow_prof_params from stack to heap to > avoid excessive stack usage. Corrects a misleading comment and silences a > sparse warning that is not a pro

Re: [net 0/9][pull request] Intel Wired LAN Driver Updates 2020-12-09

2020-12-09 Thread David Miller
From: Tony Nguyen Date: Wed, 9 Dec 2020 17:02:43 -0800 > git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 1GbE Pulled, thanks Tony.

Re: [PATCH net-next] net: emulex: benet: simplify the return expression of be_if_create()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:19:57 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the otx2_ptp_adjfine()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:27:26 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the otx2_ptp_adjfine()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:27:26 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: stmmac: simplify the return dwmac5_rxp_disable()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:23:25 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: sja1105: simplify the return sja1105_cls_flower_stats()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:25:04 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: hinic: simplify the return hinic_configure_max_qnum()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:22:41 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: dsa: simplify the return rtl8366_vlan_prepare()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:26:21 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the return expression of rvu_npa_init()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:18:44 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: freescale: dpaa: simplify the return dpaa_eth_refill_bpools()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:21:07 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: cisco: enic: simplify the return vnic_cq_alloc()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:20:31 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: prestera: simplify the return expression of prestera_port_close()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:17:51 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH v2 net-next 0/2] nfc: s3fwrn5: Change I2C interrupt trigger to EDGE_RISING

2020-12-09 Thread David Miller
From: Bongsu Jeon Date: Tue, 8 Dec 2020 23:10:10 +0900 > From: Bongsu Jeon > > For stable Samsung's I2C interrupt handling, I changed the interrupt > trigger from IRQ_TYPE_LEVEL_HIGH to IRQ_TYPE_EDGE_RISING and removed > the hard coded interrupt trigger type in the i2c module for the flexibl

Re: [PATCH net-next] net: micrel: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:02 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: mlx5: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:41 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] hisilicon/hns: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:35:31 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net 0/2] mlx4_en fixes

2020-12-09 Thread David Miller
From: Tariq Toukan Date: Wed, 9 Dec 2020 15:03:37 +0200 > Hi, > > This patchset by Moshe contains fixes to the mlx4 Eth driver, > addressing issues in restart flow. > > Patch 1 protects the restart task from being rescheduled while active. > Please queue for -stable >= v2.6. > Patch 2 recons

Re: [PATCH net-next] hisilicon/hns3: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:36:30 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: mv88e6xxx: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:39:38 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ipa: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:40:03 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: thunderbolt: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:38:52 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: usb: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:38:11 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ethernet: ti: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:16 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: freescale: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:39 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ethernet: ti: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:16 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] hisilicon/hns3: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:36:30 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: mlx5: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:41 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: rxrpc: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:32:28 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net v2] net: flow_offload: Fix memory leak for indirect flow block

2020-12-09 Thread David Miller
From: Chris Mi Date: Tue, 8 Dec 2020 10:48:35 +0800 > The offending commit introduces a cleanup callback that is invoked > when the driver module is removed to clean up the tunnel device > flow block. But it returns on the first iteration of the for loop. > The remaining indirect flow blocks wil

Re: [PATCH net] tcp: Retain ECT bits for tos reflection

2020-12-08 Thread David Miller
From: Wei Wang Date: Tue, 8 Dec 2020 09:55:08 -0800 > For DCTCP, we have to retain the ECT bits set by the congestion control > algorithm on the socket when reflecting syn TOS in syn-ack, in order to > make ECN work properly. > > Fixes: ac8f1710c12b ("tcp: reflect tos value received in SYN to t

Re: [PATCH net-next] drivers: net: qlcnic: simplify the return expression of qlcnic_sriov_vf_shutdown()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:54:37 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:13:53 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net] tcp: select sane initial rcvq_space.space for big MSS

2020-12-08 Thread David Miller
From: Eric Dumazet Date: Tue, 8 Dec 2020 08:21:31 -0800 > From: Eric Dumazet > > Before commit a337531b942b ("tcp: up initial rmem to 128KB and SYN rwin to > around 64KB") > small tcp_rmem[1] values were overridden by tcp_fixup_rcvbuf() to accommodate > various MSS. > > This is no longer th

Re: [PATCH net-next] net: atheros: simplify the return expression of atl2_phy_setup_autoneg_adv()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:57:30 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net/mlx4: simplify the return expression of mlx4_init_cq_table()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:55:43 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ipv6: rpl_iptunnel: simplify the return expression of rpl_do_srh()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:09:49 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net/mlx5: simplify the return expression of mlx5_esw_offloads_pair()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:56:25 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: core: devlink: simplify the return expression of devlink_nl_cmd_trap_set_doit()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:10:46 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net/sched: cls_u32: simplify the return expression of u32_reoffload_knode()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:08:22 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied

Re: [PATCH net-next] net: core: devlink: simplify the return expression of devlink_nl_cmd_trap_set_doit()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:10:46 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: dsa: mt7530: support setting ageing time

2020-12-08 Thread David Miller
From: DENG Qingfang Date: Tue, 8 Dec 2020 15:00:28 +0800 > MT7530 has a global address age control register, so use it to set > ageing time. > > The applied timer is (AGE_CNT + 1) * (AGE_UNIT + 1) seconds > > Signed-off-by: DENG Qingfang Applied, thanks

Re: [PATCH net] net: ll_temac: Fix potential NULL dereference in temac_probe()

2020-12-08 Thread David Miller
From: Zhang Changzhong Date: Tue, 8 Dec 2020 09:53:42 +0800 > platform_get_resource() may fail and in this case a NULL dereference > will occur. > > Fix it to use devm_platform_ioremap_resource() instead of calling > platform_get_resource() and devm_ioremap(). > > This is detected by Coccinelle

Re: [PATCH net-next v10 0/4] GVE Raw Addressing

2020-12-08 Thread David Miller
From: David Awogbemila Date: Mon, 7 Dec 2020 14:45:22 -0800 > Patchset description: > This patchset introduces "raw addressing" mode to the GVE driver. > Previously (in "queue_page_list" or "qpl" mode), the driver would > pre-allocate and dma_map buffers to be used on egress and ingress. > On e

Re: [PATCH] net: sched: fix spelling mistake in Kconfig "trys" -> "tries"

2020-12-08 Thread David Miller
From: Colin King Date: Mon, 7 Dec 2020 16:12:31 + > From: Colin Ian King > > There is a spelling mistake in the Kconfig help text. Fix it. > > Signed-off-by: Colin Ian King Applied, thanks.

Re: pull request: bluetooth-next 2020-12-07

2020-12-08 Thread David Miller
From: Johan Hedberg Date: Mon, 7 Dec 2020 17:09:15 +0200 > Hi Dave, Jakub, > > Here's the main bluetooth-next pull request for the 5.11 kernel. > > - Updated Bluetooth entries in MAINTAINERS to include Luiz von Dentz > - Added support for Realtek 8822CE and 8852A devices > - Added support fo

Re: [PATCH net-next] net/af_iucv: use DECLARE_SOCKADDR to cast from sockaddr

2020-12-08 Thread David Miller
From: Julian Wiedmann Date: Mon, 7 Dec 2020 13:53:07 +0100 > This gets us compile-time size checking. > > Signed-off-by: Julian Wiedmann Applied, thanks.

Re: [PATCH] net: tipc: prevent possible null deref of link

2020-12-08 Thread David Miller
From: Cengiz Can Date: Mon, 7 Dec 2020 11:14:24 +0300 > `tipc_node_apply_property` does a null check on a `tipc_link_entry` > pointer but also accesses the same pointer out of the null check block. > > This triggers a warning on Coverity Static Analyzer because we're > implying that `e->link` c

Re: [PATCH net-next 00/13] mlxsw: Add support for Q-in-VNI

2020-12-08 Thread David Miller
From: Ido Schimmel Date: Tue, 8 Dec 2020 11:22:40 +0200 > From: Ido Schimmel > > This patch set adds support for Q-in-VNI over Spectrum-{2,3} ASICs. > Q-in-VNI is like regular VxLAN encapsulation with the sole difference > that overlay packets can contain a VLAN tag. In Linux, this is achieved

Re: [pull request][net-next V3 00/15] mlx5 updates 2020-12-01

2020-12-08 Thread David Miller
From: sa...@kernel.org Date: Tue, 8 Dec 2020 11:35:40 -0800 > From: Saeed Mahameed > > Hi Jakub, > > v1->v2: Removed merge commit of mlx5-next. > > v2->v3: > - Add accuracy improvement measurements. > - Apply the accurate stamping only on PTP port and not all UDP. > > This series adds p

Re: [PATCH V3 0/5] patches for stmmac

2020-12-08 Thread David Miller
From: Joakim Zhang Date: Mon, 7 Dec 2020 18:51:36 +0800 > A patch set for stmmac, fix some driver issues. > > ChangeLogs: > V1->V2: > * add Fixes tag. > * add patch 5/5 into this patch set. > > V2->V3: > * rebase to latest net tree where fixes go. Series applied, thank you.

Re: [PATCH v5 3/6] net: dsa: microchip: ksz8795: move register offsets and shifts to separate struct

2020-12-07 Thread David Miller
From: Michael Grzeschik Date: Mon, 7 Dec 2020 13:56:24 +0100 > @@ -991,13 +1090,16 @@ static void ksz8_port_setup(struct ksz_device *dev, > int port, bool cpu_port) > static void ksz8_config_cpu_port(struct dsa_switch *ds) > { > struct ksz_device *dev = ds->priv; > + struct ksz8 *ks

Re: [PATCH net-next 0/6] s390/qeth: updates 2020-12-07

2020-12-07 Thread David Miller
From: Julian Wiedmann Date: Mon, 7 Dec 2020 14:12:27 +0100 > Hi Jakub, > > please apply the following patch series for qeth to netdev's net-next tree. > > Some sysfs cleanups (with the prep work in ccwgroup acked by Heiko), and > a few improvements to the code that deals with async TX completi

Re: [PATCH net] udp: fix the proto value passed to ip_protocol_deliver_rcu for the segments

2020-12-07 Thread David Miller
From: Xin Long Date: Mon, 7 Dec 2020 15:55:40 +0800 > Guillaume noticed that: for segments udp_queue_rcv_one_skb() returns the > proto, and it should pass "ret" unmodified to ip_protocol_deliver_rcu(). > Otherwize, with a negtive value passed, it will underflow inet_protos. > > This can be repr

Re: [PATCH net] net: hns3: remove a misused pragma packed

2020-12-06 Thread David Miller
From: Huazhong Tan Date: Mon, 7 Dec 2020 15:20:25 +0800 > hclge_dbg_reg_info[] is defined as an array of packed structure > accidentally. However, this array contains pointers, which are > no longer aligned naturally, and cannot be relocated on PPC64. > Hence, when compile-testing this driver on

Re: [PATCH net-next 0/2] r8169: improve rtl_rx and NUM_RX_DESC handling

2020-12-05 Thread David Miller
From: Heiner Kallweit Date: Sun, 6 Dec 2020 00:58:12 +0100 > This series improves rtl_rx() and the handling of NUM_RX_DESC. Series applied, thanks Heiner!

Re: [PATCH net v3 0/2] ibmvnic: Bug fixes for queue descriptor processing

2020-12-01 Thread David Miller
From: Thomas Falcon Date: Tue, 1 Dec 2020 09:52:09 -0600 > This series resolves a few issues in the ibmvnic driver's > RX buffer and TX completion processing. The first patch > includes memory barriers to synchronize queue descriptor > reads. The second patch fixes a memory leak that could > occ

Re: [PATCH net v2] Documentation: netdev-FAQ: suggest how to post co-dependent series

2020-11-24 Thread David Miller
From: Jakub Kicinski Date: Tue, 24 Nov 2020 20:15:24 -0800 > Make an explicit suggestion how to post user space side of kernel > patches to avoid reposts when patchwork groups the wrong patches. > > v2: mention the cases unlike iproute2 explicitly > > Signed-off-by: Jakub Kicinski > Reviewed-b

Re: [net-next 01/15] net/mlx5: DR, Add buddy allocator utilities

2020-10-06 Thread David Miller
From: Yevgeny Kliteynik Date: Tue, 6 Oct 2020 16:02:24 +0300 > Buddy allocator allocates blocks of different sizes, so when it > scans the bits array, the allocator looks for free *area* of at > least the required size. > Can't store this info in a 'lowest set bit' counter. If you make it per-or

Re: [PATCH net-next v2 0/7] ethtool: allow dumping policies to user space

2020-10-06 Thread David Miller
From: Johannes Berg Date: Tue, 06 Oct 2020 08:43:17 +0200 > On Mon, 2020-10-05 at 15:07 -0700, Jakub Kicinski wrote: >> Hi! >> >> This series wires up ethtool policies to ops, so they can be >> dumped to user space for feature discovery. >> >> First patch wires up GET commands, and second patch

Re: [PATCH 0/9 net-next] drivers/net: add sw_netstats_rx_add helper

2020-10-06 Thread David Miller
From: Fabian Frederick Date: Mon, 5 Oct 2020 22:33:57 +0200 > This small patchset creates netstats addition dev_sw_netstats_rx_add() > based on dev_lstats_add() and replaces some open coding > in both drivers/net and net branches. Series applied, thank you.

Re: [PATCH net 0/6] rxrpc: Miscellaneous fixes

2020-10-06 Thread David Miller
From: David Howells Date: Mon, 05 Oct 2020 17:18:44 +0100 > The patches are tagged here: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-fixes-20201005.txt I think the ".txt" at the end of the branch name is a mistake. It's really hard to send a clea

Re: [PATCH v3 net-next 0/3] net: atlantic: phy tunables from mac driver

2020-10-06 Thread David Miller
From: Igor Russkikh Date: Mon, 5 Oct 2020 18:39:36 +0300 > This series implements phy tunables settings via MAC driver callbacks. > > AQC 10G devices use integrated MAC+PHY solution, where PHY is fully controlled > by MAC firmware. Therefore, it is not possible to implement separate phy > drive

Re: [PATCH net-next] net: always dump full packets with skb_dump

2020-10-06 Thread David Miller
From: Vladimir Oltean Date: Mon, 5 Oct 2020 17:48:38 +0300 > Currently skb_dump has a restriction to only dump full packet for the > first 5 socket buffers, then only headers will be printed. Remove this > arbitrary and confusing restriction, which is only documented vaguely > ("up to") in the c

Re: [PATCH net] tcp: fix receive window update in tcp_add_backlog()

2020-10-06 Thread David Miller
From: Eric Dumazet Date: Mon, 5 Oct 2020 06:48:13 -0700 > From: Eric Dumazet > > We got reports from GKE customers flows being reset by netfilter > conntrack unless nf_conntrack_tcp_be_liberal is set to 1. > > Traces seemed to suggest ACK packet being dropped by the > packet capture, or more

Re: [PATCH v4] net: usb: rtl8150: set random MAC address when set_ethernet_addr() fails

2020-10-06 Thread David Miller
From: Anant Thazhemadam Date: Mon, 5 Oct 2020 18:59:58 +0530 > When get_registers() fails in set_ethernet_addr(),the uninitialized > value of node_id gets copied over as the address. > So, check the return value of get_registers(). > > If get_registers() executed successfully (i.e., it returns

Re: [PATCH net-next] mptcp: don't skip needed ack

2020-10-06 Thread David Miller
From: Paolo Abeni Date: Mon, 5 Oct 2020 12:36:44 +0200 > Currently we skip calling tcp_cleanup_rbuf() when packets > are moved into the OoO queue or simply dropped. In both > cases we still increment tp->copied_seq, and we should > ask the TCP stack to check for ack. > > Fixes: c76c6956566f ("m

Re: [PATCH net] mptcp: more DATA FIN fixes

2020-10-06 Thread David Miller
From: Paolo Abeni Date: Mon, 5 Oct 2020 12:01:06 +0200 > Currently data fin on data packet are not handled properly: > the 'rcv_data_fin_seq' field is interpreted as the last > sequence number carrying a valid data, but for data fin > packet with valid maps we currently store map_seq + map_len,

Re: [PATCH net 0/2] Fix tail dropping watermarks for Ocelot switches

2020-10-06 Thread David Miller
From: Vladimir Oltean Date: Mon, 5 Oct 2020 12:09:10 +0300 > This series adds a missing division by 60, and a warning to prevent that > in the future. Series applied, thank you.

Re: [PATCH v3] net: qrtr: ns: Fix the incorrect usage of rcu_read_lock()

2020-10-06 Thread David Miller
From: Manivannan Sadhasivam Date: Mon, 5 Oct 2020 12:46:42 +0530 > The rcu_read_lock() is not supposed to lock the kernel_sendmsg() API > since it has the lock_sock() in qrtr_sendmsg() which will sleep. Hence, > fix it by excluding the locking for kernel_sendmsg(). > > While at it, let's also u

Re: [PATCH] net: phy: marvell: Use phy_read_paged() instead of open coding it

2020-10-05 Thread David Miller
From: Jisheng Zhang Date: Mon, 5 Oct 2020 17:19:50 +0800 > Convert m88e1318_get_wol() to use the well implemented phy_read_paged() > instead of open coding it. > > Signed-off-by: Jisheng Zhang Applied, thanks!

Re: [PATCH net-next] net: dsa: propagate switchdev vlan_filtering prepare phase to drivers

2020-10-05 Thread David Miller
From: Vladimir Oltean Date: Sat, 3 Oct 2020 01:06:46 +0300 > A driver may refuse to enable VLAN filtering for any reason beyond what > the DSA framework cares about, such as: > - having tc-flower rules that rely on the switch being VLAN-aware > - the particular switch does not support VLAN, even

[GIT] Networking

2020-10-04 Thread David Miller
1) Make sure SKB control block is in the proper state during IPSEC ESP-in-TCP encapsulation. From Sabrina Dubroca. 2) Various kinds of attributes were not being cloned properly when we build new xfrm_state objects from existing ones. Fix from Antony Antony. 3) Make sure to keep BTF s

Re: [PATCH net-next v2 0/2] net: Constify struct genl_small_ops

2020-10-04 Thread David Miller
From: Rikard Falkeborn Date: Mon, 5 Oct 2020 01:44:15 +0200 > Make a couple of static struct genl_small_ops const to allow the compiler > to put them in read-only memory. Patches are independent. > > v2: Rebase on net-next, genl_ops -> genl_small_ops Applied, thank you.

Re: [PATCH net] drivers/net/wan: lapb: Replace the skb->len checks with pskb_may_pull

2020-10-04 Thread David Miller
From: Xie He Date: Sat, 3 Oct 2020 17:46:19 -0700 > The purpose of these skb->len checks in these drivers is to ensure that > there is a header in the skb available to be read and pulled. > > However, we already have the pskb_may_pull function for this purpose. > > The pskb_may_pull function a

Re: [PATCH net-next] drivers/net/wan/hdlc_fr: Improvements to the code of pvc_xmit

2020-10-04 Thread David Miller
From: Xie He Date: Sat, 3 Oct 2020 15:41:05 -0700 > 1. Keep the code for the normal (non-error) flow at the lowest > indentation level. And use "goto drop" for all error handling. > > 2. Replace code that pads short Ethernet frames with a "__skb_pad" call. > > 3. Change "dev_kfree_skb" to "kfr

Re: [PATCH net] net/core: check length before updating Ethertype in skb_mpls_{push,pop}

2020-10-04 Thread David Miller
From: Guillaume Nault Date: Fri, 2 Oct 2020 21:53:08 +0200 > Openvswitch allows to drop a packet's Ethernet header, therefore > skb_mpls_push() and skb_mpls_pop() might be called with ethernet=true > and mac_len=0. In that case the pointer passed to skb_mod_eth_type() > doesn't point to an Ethern

Re: [PATCH] net: mvneta: fix double free of txq->buf

2020-10-04 Thread David Miller
From: t...@redhat.com Date: Sat, 3 Oct 2020 11:51:21 -0700 > From: Tom Rix > > clang static analysis reports this problem: > > drivers/net/ethernet/marvell/mvneta.c:3465:2: warning: > Attempt to free released memory > kfree(txq->buf); > ^~~ > > When mvneta_txq_sw

Re: [PATCH net-next 0/2] net: Constify struct genl_ops

2020-10-04 Thread David Miller
From: Rikard Falkeborn Date: Sun, 4 Oct 2020 23:58:08 +0200 > Make a couple of static struct genl_ops const to allow the compiler to put > them in read-only memory. Patches are independent. These do not apply cleanly to net-next, please respin.

Re: [Patch net] net_sched: check error pointer in tcf_dump_walker()

2020-10-04 Thread David Miller
From: Cong Wang Date: Fri, 2 Oct 2020 12:13:34 -0700 > Although we take RTNL on dump path, it is possible to > skip RTNL on insertion path. So the following race condition > is possible: > > rtnl_lock() // no rtnl lock > mutex_lock(&idrinfo->lock); >

Re: [PATCH] net: team: fix memory leak in __team_options_register

2020-10-04 Thread David Miller
From: Anant Thazhemadam Date: Mon, 5 Oct 2020 02:25:36 +0530 > The variable "i" isn't initialized back correctly after the first loop > under the label inst_rollback gets executed. > > The value of "i" is assigned to be option_count - 1, and the ensuing > loop (under alloc_rollback) begins by

Re: [PATCH net-next 00/11] bnxt_en: net-next updates.

2020-10-04 Thread David Miller
From: Michael Chan Date: Sun, 4 Oct 2020 15:22:50 -0400 > This series starts off with the usual update of the firmware interface > spec. A new firmware status bit in the interface will be used in patch > #4 to perform recovery on some SoC platforms. Patches #2 and #3 first > add the infrastruc

Re: [PATCH net-next v3 0/7] mv88e6xxx: Add per port devlink regions

2020-10-04 Thread David Miller
From: Andrew Lunn Date: Sun, 4 Oct 2020 18:12:50 +0200 > This patchset extends devlink regions to support per port regions, and > them makes use of them to support the ports of the mv88e6xxx switches. ... Series applied, thanks!

Re: [PATCH 00/11] Netfilter updates for net-next

2020-10-04 Thread David Miller
From: Pablo Neira Ayuso Date: Sun, 4 Oct 2020 21:49:29 +0200 > git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git Pulled, thank you.

<    1   2   3   4   5   6   7   8   9   10   >