Re: [PATCH 0/3] Fixes for stop monitoring disabled devices series

2020-07-04 Thread Zhang Rui
On Fri, 2020-07-03 at 14:05 +0200, Daniel Lezcano wrote: > On 03/07/2020 13:57, Andrzej Pietrasiewicz wrote: > > Hi, > > > > W dniu 03.07.2020 o 13:06, Daniel Lezcano pisze: > > > On 03/07/2020 12:43, Andrzej Pietrasiewicz wrote: > > > > This short series contains fixes for "Stop monitoring disabl

Re: [PATCH net 0/2] net: rmnet: fix interface leak for rmnet module

2020-07-04 Thread David Miller
From: Taehee Yoo Date: Thu, 2 Jul 2020 17:07:37 + > There are two problems in rmnet module that they occur the leak of > a lower interface. > The symptom is the same, which is the leak of a lower interface. > But there are two different real problems. > This patchset is to fix these real pro

Re: [PATCH net] hsr: fix interface leak in error path of hsr_dev_finalize()

2020-07-04 Thread David Miller
From: Taehee Yoo Date: Thu, 2 Jul 2020 17:06:19 + > To release hsr(upper) interface, it should release > its own lower interfaces first. > Then, hsr(upper) interface can be released safely. > In the current code of error path of hsr_dev_finalize(), it releases hsr > interface before releasin

Re: [PATCH v2 0/2] qlogic: use generic power management

2020-07-04 Thread David Miller
From: Vaibhav Gupta Date: Thu, 2 Jul 2020 22:31:41 +0530 > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management > callbacks > from qlogic ethernet drivers. > > The callbacks performing suspend() and resume() operations

Re: [PATCH net-next v2 1/2] net: dsa: microchip: split adjust_link() in phylink_mac_link_{up|down}()

2020-07-04 Thread David Miller
From: Codrin Ciubotariu Date: Thu, 2 Jul 2020 18:17:23 +0300 > The DSA subsystem moved to phylink and adjust_link() became deprecated in > the process. This patch removes adjust_link from the KSZ DSA switches and > adds phylink_mac_link_up() and phylink_mac_link_down(). > > Signed-off-by: Codrin

Re: [PATCH net-next v2 2/2] net: dsa: microchip: remove unused private members

2020-07-04 Thread David Miller
From: Codrin Ciubotariu Date: Thu, 2 Jul 2020 18:17:24 +0300 > Private structure members live_ports, on_ports, rx_ports, tx_ports are > initialized but not used anywhere. Let's remove them. > > Suggested-by: Russell King > Signed-off-by: Codrin Ciubotariu Applied.

Re: [PATCH net-next 0/3] mptcp: add REUSEADDR/REUSEPORT/V6ONLY setsockopt support

2020-07-04 Thread David Miller
From: Florian Westphal Date: Sun, 5 Jul 2020 01:30:14 +0200 > restarting an mptcp-patched sshd yields following error: > > sshd: error: Bind to port 22 on 0.0.0.0 failed: Address already in use. > sshd: error: setsockopt IPV6_V6ONLY: Operation not supported > sshd: error: Bind to port 22

Re: [PATCH net-next] selftests/net: update initializer syntax to use c99 designators

2020-07-04 Thread David Miller
From: Tanner Love Date: Sat, 4 Jul 2020 16:45:14 -0400 > From: Tanner Love > > Before, clang version 9 threw errors such as: error: > use of GNU old-style field designator extension [-Werror,-Wgnu-designator] > { tstamp: true, swtstamp: true } > ^~~ >

Re: [PATCH net] hinic: fix sending mailbox timeout in aeq event work

2020-07-04 Thread David Miller
From: Luo bin Date: Sat, 4 Jul 2020 15:32:43 +0800 > When sending mailbox in the work of aeq event, another aeq event > will be triggered. because the last aeq work is not exited and only > one work can be excuted simultaneously in the same workqueue, mailbox > sending function will return failur

Re: [PATCH] drivers/net/wan/lapbether: Fixed the value of hard_header_len

2020-07-04 Thread David Miller
From: Xie He Date: Fri, 3 Jul 2020 22:12:46 -0700 > When transmitting data from upper layers or from AF_PACKET sockets, > this driver will first remove a pseudo header of 1 byte, > then the lapb module will prepend the LAPB header of 2 or 3 bytes, > then this driver will prepend a length f

Re: [PATCH net-next v3 0/3] bnx2x: Perform IdleChk dump.

2020-07-04 Thread David Miller
From: Sudarsana Reddy Kalluru Date: Sat, 4 Jul 2020 10:13:41 +0530 > Idlechk test verifies that the chip is in idle state. If there are any > errors, Idlechk dump would capture the same. This data will help in > debugging the device related issues. > The patch series adds driver support for dumpi

Re: pull-request: bpf-next 2020-07-04

2020-07-04 Thread David Miller
From: Daniel Borkmann Date: Sat, 4 Jul 2020 02:15:05 +0200 > The following pull-request contains BPF updates for your *net-next* tree. > > We've added 73 non-merge commits during the last 17 day(s) which contain > a total of 106 files changed, 5233 insertions(+), 1283 deletions(-). > > The mai

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

2020-07-04 Thread David Miller
From: Pablo Neira Ayuso Date: Sat, 4 Jul 2020 02:13:57 +0200 > The following patchset contains Netfilter fixes for net: > > 1) Use kvfree() to release vmalloc()'ed areas in ipset, from Eric Dumazet. > > 2) UAF in nfnetlink_queue from the nf_conntrack_update() path. > > Please, pull these chan

Re: [PATCH 0/7] Documentation: networking: eliminate doubled words

2020-07-04 Thread David Miller
From: Randy Dunlap Date: Fri, 3 Jul 2020 15:41:08 -0700 > Drop all duplicated words in Documentation/networking/ files. Series applied, thanks Randy.

Re: [PATCH ethtool v4 0/6] ethtool(1) cable test support

2020-07-04 Thread Michal Kubecek
On Wed, Jul 01, 2020 at 03:07:37AM +0200, Andrew Lunn wrote: > Add the user space side of the ethtool cable test. > > The TDR output is most useful when fed to some other tool which can > visualize the data. So add JSON support, by borrowing code from > iproute2. > > v2: > man page fixes. > > v3

Re: [PATCH ethtool v4 2/6] Add cable test TDR support

2020-07-04 Thread Michal Kubecek
On Wed, Jul 01, 2020 at 03:07:39AM +0200, Andrew Lunn wrote: > Add support for accessing the cable test time domain reflectromatry > data. Add a new command --cable-test-tdr, and support for dumping the > data which is returned. > > Signed-off-by: Andrew Lunn > --- Looks good to me, only three m

Re: [PATCH ethtool v4 1/6] Add cable test support

2020-07-04 Thread Michal Kubecek
On Wed, Jul 01, 2020 at 03:07:38AM +0200, Andrew Lunn wrote: > Add support for starting a cable test, and report the results. > > This code does not follow the usual patterns because of the way the > kernel reports the results of the cable test. It can take a number of > seconds for cable testing

[PATCH net-next 0/3] mptcp: add REUSEADDR/REUSEPORT/V6ONLY setsockopt support

2020-07-04 Thread Florian Westphal
restarting an mptcp-patched sshd yields following error: sshd: error: Bind to port 22 on 0.0.0.0 failed: Address already in use. sshd: error: setsockopt IPV6_V6ONLY: Operation not supported sshd: error: Bind to port 22 on :: failed: Address already in use. sshd: fatal: Cannot bind any addr

[PATCH net-next 3/3] mptcp: support IPV6_V6ONLY setsockopt

2020-07-04 Thread Florian Westphal
Without this, Opensshd fails to open an ipv6 socket listening socket: error: setsockopt IPV6_V6ONLY: Operation not supported error: Bind to port 22 on :: failed: Address already in use. Opensshd opens an ipv4 and and ipv6 listening socket, but because IPV6_V6ONLY setsockopt fails, the port num

[PATCH net-next 1/3] net: use mptcp setsockopt function for SOL_SOCKET on mptcp sockets

2020-07-04 Thread Florian Westphal
setsockopt(mptcp_fd, SOL_SOCKET, ...)... appears to work (returns 0), but it has no effect -- this is because the MPTCP layer never has a chance to copy the settings to the subflow socket. Skip the generic handling for the mptcp case and instead call the mptcp specific handler instead for SOL_SOC

[PATCH net-next 2/3] mptcp: add REUSEADDR/REUSEPORT support

2020-07-04 Thread Florian Westphal
This will e.g. make 'sshd restart' work when MPTCP is used, as we will now set this option on the listener socket instead of only the mptcp socket (where it has no effect). We still need to copy the setting to the master socket so that a subsequent getsockopt() returns the expected value. Reporte

Re: [PATCH ethtool 2/2] man: add man page for ETHTOOL_GTUNABLE and ETHTOOL_STUNABLE

2020-07-04 Thread Michal Kubecek
On Mon, Jun 08, 2020 at 10:52:55AM -0700, Govindarajulu Varadarajan wrote: > Signed-off-by: Govindarajulu Varadarajan > --- > ethtool.8.in | 12 > 1 file changed, 12 insertions(+) > > diff --git a/ethtool.8.in b/ethtool.8.in > index 4c5b6c5..da0564e 100644 > --- a/ethtool.8.in > +++

Re: [PATCH ethtool 1/2] ethtool: add support for get/set ethtool_tunable

2020-07-04 Thread Michal Kubecek
I'm sorry it took me so long to get to this patch; I wanted to review it two weeks ago but we had problems with e-mail migration and it took me some time to recover missing mails. On Mon, Jun 08, 2020 at 10:52:54AM -0700, Govindarajulu Varadarajan wrote: > Add support for ETHTOOL_GTUNABLE and ETHT

Re: [PATCH] net: fm10k: check size from dma region

2020-07-04 Thread Zekun Shen
On Sat, Jul 04, 2020 at 12:41:07PM -0700, Alexander Duyck wrote: > On Sat, Jul 4, 2020 at 9:37 AM Zekun Shen wrote: > > > > On Sat, Jul 04, 2020 at 09:05:48AM -0700, Alexander Duyck wrote: > > > The upper limitation for the size should be 2K or FM10K_RX_BUFSZ, not > > > PAGE_SIZE. Otherwise you ar

Re: [PATCH v2 net-next 5/6] net: dsa: felix: delete .phylink_mac_an_restart code

2020-07-04 Thread Russell King - ARM Linux admin
On Sat, Jul 04, 2020 at 11:29:18PM +0300, Vladimir Oltean wrote: > I will try to address those points centrally, here, by asking 2 > questions. > > 1. In various topics you have brought up a certain copper SFP module >from Mikrotik which embeds an inaccessible Atheros SGMII PHY. Mind >you,

[PATCH net-next] selftests/net: update initializer syntax to use c99 designators

2020-07-04 Thread Tanner Love
From: Tanner Love Before, clang version 9 threw errors such as: error: use of GNU old-style field designator extension [-Werror,-Wgnu-designator] { tstamp: true, swtstamp: true } ^~~ .tstamp = Fix these warnings in tools/testing/selftests/ne

Re: [PATCH v2 net-next 5/6] net: dsa: felix: delete .phylink_mac_an_restart code

2020-07-04 Thread Vladimir Oltean
On Sat, Jul 04, 2020 at 07:14:01PM +0100, Russell King - ARM Linux admin wrote: > On Sat, Jul 04, 2020 at 06:50:48PM +0300, Vladimir Oltean wrote: > > On Sat, Jul 04, 2020 at 03:56:14PM +0100, Russell King - ARM Linux admin > > wrote: > > > > [snip] > > > > > > > > NAK for this description. Yo

Re: [PATCH] net: fm10k: check size from dma region

2020-07-04 Thread Alexander Duyck
On Sat, Jul 4, 2020 at 9:37 AM Zekun Shen wrote: > > On Sat, Jul 04, 2020 at 09:05:48AM -0700, Alexander Duyck wrote: > > The upper limitation for the size should be 2K or FM10K_RX_BUFSZ, not > > PAGE_SIZE. Otherwise you are still capable of going out of bounds > > because the offset is used withi

Why ss output is machine friendly by default?

2020-07-04 Thread Vasili Pupkin
The --processes switch of ss program outputs strings containing "users:(("ntpd",pid=1888,fd=19))" and it is too long for the purpose of system administration. netstat program output "1888/ntpd" is more than enough for humans. Long output causes line wraps in terminal and hard to read.

Re: [PATCH bpf-next v3 02/16] bpf: Introduce SK_LOOKUP program type with a dedicated attach point

2020-07-04 Thread Yonghong Song
On 7/2/20 2:24 AM, Jakub Sitnicki wrote: Add a new program type BPF_PROG_TYPE_SK_LOOKUP with a dedicated attach type BPF_SK_LOOKUP. The new program kind is to be invoked by the transport layer when looking up a listening socket for a new connection request for connection oriented protocols, or

Re: [PATCH v2 net-next 5/6] net: dsa: felix: delete .phylink_mac_an_restart code

2020-07-04 Thread Russell King - ARM Linux admin
On Sat, Jul 04, 2020 at 06:50:48PM +0300, Vladimir Oltean wrote: > On Sat, Jul 04, 2020 at 03:56:14PM +0100, Russell King - ARM Linux admin > wrote: > > [snip] > > > > > NAK for this description. You know why. > > > > -- > > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/

Looking for guidance for porting home made audio driver to ASoC/FSL

2020-07-04 Thread Christophe Leroy
Hello I'm looking for guidance for porting a home made audio driver to ASoC/FSL on a custom board. The board has an MPC8321 freescale/NXP cpu. The board has a TDM bus connected to one of the cpu TDM port. On that TDM bus, there are three IDT 821034 quad codecs (PCM G.711) and an E1 chip that

Re: [PATCH] net: fm10k: check size from dma region

2020-07-04 Thread Zekun Shen
On Sat, Jul 04, 2020 at 09:05:48AM -0700, Alexander Duyck wrote: > The upper limitation for the size should be 2K or FM10K_RX_BUFSZ, not > PAGE_SIZE. Otherwise you are still capable of going out of bounds > because the offset is used within the page to push the start of the > region up by 2K. PAGE_

Re: [PATCH] net: fm10k: check size from dma region

2020-07-04 Thread Alexander Duyck
On Fri, Jul 3, 2020 at 11:21 AM Zekun Shen wrote: > > Size is read from a dma region as input from device. Add sanity > check of size before calling dma_sync_single_range_for_cpu > with it. > > This would prevent DMA-API warning: device driver tries to sync DMA > memory it has not allocated. > > S

Re: [PATCH v2 net-next 5/6] net: dsa: felix: delete .phylink_mac_an_restart code

2020-07-04 Thread Vladimir Oltean
On Sat, Jul 04, 2020 at 03:56:14PM +0100, Russell King - ARM Linux admin wrote: [snip] > > NAK for this description. You know why. > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! Sorry, I cannot w

[PATCH v2 net-next] inet: Remove an unnecessary argument of syn_ack_recalc().

2020-07-04 Thread Kuniyuki Iwashima
Commit 0c3d79bce48034018e840468ac5a642894a521a3 ("tcp: reduce SYN-ACK retrans for TCP_DEFER_ACCEPT") introduces syn_ack_recalc() which decides if a minisock is held and a SYN+ACK is retransmitted or not. If rskq_defer_accept is not zero in syn_ack_recalc(), max_retries always has the same value be

Re: [PATCH net-next] inet: Remove an unnecessary arguments of syn_ack_recalc().

2020-07-04 Thread Kuniyuki Iwashima
I'm sorry, I would fix typo in title and respin it. Regards, Kuniyuki Iwashima

Re: [PATCH v2 net-next 5/6] net: dsa: felix: delete .phylink_mac_an_restart code

2020-07-04 Thread Russell King - ARM Linux admin
On Sat, Jul 04, 2020 at 03:45:06PM +0300, Vladimir Oltean wrote: > From: Vladimir Oltean > > The Cisco SGMII and USXGMII standards specify control information > exchange to be "achieved by using the Auto-Negotiation functionality > defined in Clause 37 of the IEEE Specification 802.3z". > > The

Re: [PATCH net-next v2 0/7] Add devlink-health support for devlink ports

2020-07-04 Thread Jiri Pirko
Sat, Jul 04, 2020 at 01:44:39AM CEST, k...@kernel.org wrote: >On Fri, 3 Jul 2020 06:27:31 +0300 Moshe Shemesh wrote: >> Implement support for devlink health reporters on per-port basis. First >> part in the series prepares common functions parts for health reporter >> implementation. Second introd

Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref

2020-07-04 Thread Sven Van Asbroeck
Hi Fabio, Andy, On Thu, Jul 2, 2020 at 6:29 PM Fabio Estevam wrote: > > With the device tree approach, I think that a better place to touch > GPR5 would be inside the fec driver. > Are we 100% sure this is the best way forward, though? All the FEC driver should care about is the FEC logic block

[PATCH] mac80211: mesh: Free pending skb when destroying a mpath

2020-07-04 Thread Remi Pommarel
A mpath object can hold reference on a list of skb that are waiting for mpath resolution to be sent. When destroying a mpath this skb list should be cleaned up in order to not leak memory. Fixing that kind of leak: unreferenced object 0x181c9300 (size 1088): comm "openvpn", pid 1782, ji

[PATCH] mac80211: mesh: Free ie data when leaving mesh

2020-07-04 Thread Remi Pommarel
At ieee80211_join_mesh() some ie data could have been allocated (see copy_mesh_setup()) and need to be cleaned up when leaving the mesh. This fixes the following kmemleak report: unreferenced object 0x116bc600 (size 128): comm "wpa_supplicant", pid 608, jiffies 4294898983 (age 293.484s)

Re: [PATCH ghak90 V9 02/13] audit: add container id

2020-07-04 Thread Paul Moore
On Sat, Jul 4, 2020 at 9:29 AM Paul Moore wrote: > On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs wrote: > > > > Implement the proc fs write to set the audit container identifier of a > > process, emitting an AUDIT_CONTAINER_OP record to document the event. Sorry about the email misfire, you

Re: [PATCH ghak90 V9 02/13] audit: add container id

2020-07-04 Thread Paul Moore
On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs wrote: > > Implement the proc fs write to set the audit container identifier of a > process, emitting an AUDIT_CONTAINER_OP record to document the event. > > This is a write from the container orchestrator task to a proc entry of > the form /proc/

[PATCH v2 net-next 6/6] net: dsa: felix: use resolved link config in mac_link_up()

2020-07-04 Thread Vladimir Oltean
From: Vladimir Oltean PHYLINK now requires that parameters established through auto-negotiation be written into the MAC at the time of the mac_link_up() callback. In the case of felix, that means taking the port out of reset, setting the correct timers for PAUSE frames, and enabling/disabling TX

[PATCH v2 net-next 2/6] net: dsa: felix: support half-duplex link modes

2020-07-04 Thread Vladimir Oltean
From: Vladimir Oltean Ping tested: [ 11.808455] mscc_felix :00:00.5 swp0: Link is Up - 1Gbps/Full - flow control rx/tx [ 11.816497] IPv6: ADDRCONF(NETDEV_CHANGE): swp0: link becomes ready [root@LS1028ARDB ~] # ethtool -s swp0 advertise 0x4 [ 18.844591] mscc_felix :00:00.5

[PATCH v2 net-next 4/6] net: dsa: felix: set proper pause frame timers based on link speed

2020-07-04 Thread Vladimir Oltean
From: Vladimir Oltean state->speed holds a value of 10, 100, 1000 or 2500, but SYS_MAC_FC_CFG_FC_LINK_SPEED expects a value in the range 0, 1, 2 or 3. So set the correct speed encoding into this register. Signed-off-by: Vladimir Oltean --- Changes in v2: None. Note: this patch is still using

[PATCH v2 net-next 3/6] net: dsa: felix: unconditionally configure MAC speed to 1000Mbps

2020-07-04 Thread Vladimir Oltean
From: Vladimir Oltean In VSC9959, the PCS is the one who performs rate adaptation (symbol duplication) to the speed negotiated by the PHY. The MAC is unaware of that and must remain configured for gigabit. If it is configured at OCELOT_SPEED_10 or OCELOT_SPEED_100, it'll start transmitting PAUSE

[PATCH v2 net-next 5/6] net: dsa: felix: delete .phylink_mac_an_restart code

2020-07-04 Thread Vladimir Oltean
From: Vladimir Oltean The Cisco SGMII and USXGMII standards specify control information exchange to be "achieved by using the Auto-Negotiation functionality defined in Clause 37 of the IEEE Specification 802.3z". The differences to clause 37 auto-negotiation are specified by the respective stand

[PATCH v2 net-next 0/6] PHYLINK integration improvements for Felix DSA driver

2020-07-04 Thread Vladimir Oltean
From: Vladimir Oltean This is an overhaul of the Felix switch driver's PHYLINK operations. Patches 1, 3, 4 and 5 are cleanup, patch 2 is adding a new feature and and patch 6 is adaptation to the new format of an existing phylink API (mac_link_up). Changes since v1: - Now using phy_clear_bits an

[PATCH v2 net-next 1/6] net: dsa: felix: clarify the intention of writes to MII_BMCR

2020-07-04 Thread Vladimir Oltean
From: Vladimir Oltean The driver appears to write to BMCR_SPEED and BMCR_DUPLEX, fields which are read-only, since they are actually configured through the vendor-specific IF_MODE (0x14) register. But the reason we're writing back the read-only values of MII_BMCR is to alter these writable field

Re: [net-next PATCH v2 2/3] Documentation: ACPI: DSD: Document MDIO PHY

2020-07-04 Thread Andy Shevchenko
On Fri, Jul 3, 2020 at 2:36 PM Calvin Johnson wrote: > On Wed, Jul 01, 2020 at 01:27:43PM +0300, Andy Shevchenko wrote: > > On Wed, Jul 1, 2020 at 9:13 AM Calvin Johnson > > wrote: ... > > > +Package (2) {"mdio-handle", Package (){\_SB.MDI0}} > > > > Reference as a package?

Re: [PATCH net v3] sched: consistently handle layer3 header accesses in the presence of VLANs

2020-07-04 Thread Toke Høiland-Jørgensen
Toshiaki Makita writes: > On 2020/07/04 5:26, Toke Høiland-Jørgensen wrote: > ... >> +/* A getter for the SKB protocol field which will handle VLAN tags >> consistently >> + * whether VLAN acceleration is enabled or not. >> + */ >> +static inline __be16 skb_protocol(const struct sk_buff *skb, bo

Re: [PATCH net v3] sched: consistently handle layer3 header accesses in the presence of VLANs

2020-07-04 Thread Toke Høiland-Jørgensen
Daniel Borkmann writes: > On 7/3/20 10:26 PM, Toke Høiland-Jørgensen wrote: >> There are a couple of places in net/sched/ that check skb->protocol and act >> on the value there. However, in the presence of VLAN tags, the value stored >> in skb->protocol can be inconsistent based on whether VLAN a

Re: [PATCH bpf-next 0/3] bpf: Populate bpffs with map and prog iterators

2020-07-04 Thread Toke Høiland-Jørgensen
Alexei Starovoitov writes: > On Fri, Jul 03, 2020 at 01:18:43PM +0200, Toke Høiland-Jørgensen wrote: >> > The user mode driver will load BPF Type Formats, create BPF maps, populate >> > BPF >> > maps, load two BPF programs, attach them to BPF iterators, and finally >> > send two >> > bpf_

Re: [PATCH RESEND net-next v3 0/3] net: enetc: remove bootloader dependency

2020-07-04 Thread Russell King - ARM Linux admin
On Thu, Jul 02, 2020 at 12:41:39PM +0300, Vladimir Oltean wrote: > On Thu, 2 Jul 2020 at 11:41, Russell King - ARM Linux admin > wrote: > > > > On Thu, Jul 02, 2020 at 01:04:02AM +0300, Vladimir Oltean wrote: > > > On Thu, 2 Jul 2020 at 00:53, Russell King - ARM Linux admin > > > wrote: > > > > >

[PATCH net-next] inet: Remove an unnecessary arguments of syn_ack_recalc().

2020-07-04 Thread Kuniyuki Iwashima
Commit 0c3d79bce48034018e840468ac5a642894a521a3 ("tcp: reduce SYN-ACK retrans for TCP_DEFER_ACCEPT") introduces syn_ack_recalc() which decides if a minisock is held and a SYN+ACK is retransmitted or not. If rskq_defer_accept is not zero in syn_ack_recalc(), max_retries always has the same value be

Re: [PATCH 3/7] Documentation: networking: can_ucan_protocol: drop doubled words

2020-07-04 Thread Marc Kleine-Budde
On 7/4/20 12:41 AM, Randy Dunlap wrote: > Drop the doubled words "the" and "of". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: netdev@vger.kernel.org > Cc: Wolfgang Grandegger > Cc: Marc Kleine-Budde >

Re: [PATCH net 2/2] net/sched: act_ct: add miss tcf_lastuse_update.

2020-07-04 Thread wenxu
Please drop this one for wrong tags 在 2020/7/4 15:42, we...@ucloud.cn 写道: > From: wenxu > > When tcf_ct_act execute the tcf_lastuse_update should > be update or the used stats never update > > filter protocol ip pref 3 flower chain 0 > filter protocol ip pref 3 flower chain 0 handle 0x1 > eth_t

[PATCH net] net/sched: act_ct: add miss tcf_lastuse_update.

2020-07-04 Thread wenxu
From: wenxu When tcf_ct_act execute the tcf_lastuse_update should be update or the used stats never update filter protocol ip pref 3 flower chain 0 filter protocol ip pref 3 flower chain 0 handle 0x1 eth_type ipv4 dst_ip 1.1.1.1 ip_flags frag/firstfrag skip_hw not_in_hw action order 1

[PATCH net 2/2] net/sched: act_ct: add miss tcf_lastuse_update.

2020-07-04 Thread wenxu
From: wenxu When tcf_ct_act execute the tcf_lastuse_update should be update or the used stats never update filter protocol ip pref 3 flower chain 0 filter protocol ip pref 3 flower chain 0 handle 0x1 eth_type ipv4 dst_ip 1.1.1.1 ip_flags frag/firstfrag skip_hw not_in_hw action order 1

[PATCH net] hinic: fix sending mailbox timeout in aeq event work

2020-07-04 Thread Luo bin
When sending mailbox in the work of aeq event, another aeq event will be triggered. because the last aeq work is not exited and only one work can be excuted simultaneously in the same workqueue, mailbox sending function will return failure of timeout. We create and use another workqueue to fix this