Re: [PATCH v5 1/6] net: lorawan: Add LoRaWAN socket module

2018-12-28 Thread Andreas Färber
Hi Jian-Hong, Am 16.12.18 um 11:18 schrieb Jian-Hong Pan: > This patch adds a new address/protocol family for LoRaWAN network. > It also implements the the functions and maps to Datagram socket for > LoRaWAN unconfirmed data messages. > > Signed-off-by: Jian-Hong Pan [...] > include/linux/lora/

Re: [PATCH v4] dt-bindings: net: dsa: ksz9477: add sample of switch bindings managed in i2c mode

2018-12-28 Thread Sergio Paracuellos
On Sat, Dec 29, 2018 at 1:03 AM Rob Herring wrote: > > On Wed, Dec 19, 2018 at 08:46:26PM +0100, Sergio Paracuellos wrote: > > Add device-tree binding example of the ksz9477 switch managed in i2c mode. > > > > Cc: devicet...@vger.kernel.org > > Signed-off-by: Sergio Paracuellos > > --- > > Change

Re: [PATCH] ipv4: fib_rules: Fix possible infinite loop in fib_empty_table

2018-12-28 Thread YueHaibing
On 2018/12/29 13:15, David Miller wrote: > From: YueHaibing > Date: Wed, 26 Dec 2018 16:34:20 +0800 > >> diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c >> index f8eb78d..1567e12 100644 >> --- a/net/ipv4/fib_rules.c >> +++ b/net/ipv4/fib_rules.c >> @@ -200,9 +200,13 @@ static struct fi

[PATCH v2] ipv4: fib_rules: Fix possible infinite loop in fib_empty_table

2018-12-28 Thread YueHaibing
gcc warn this: net/ipv4/fib_rules.c:203 fib_empty_table() warn: always true condition '(id <= 4294967295) => (0-u32max <= u32max)' 'id' is u32, which always not greater than RT_TABLE_MAX (0x), So add a check to break while wrap around. Signed-off-by: YueHaibing --- v2: clean up exit con

Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig

2018-12-28 Thread Andreas Färber
Am 28.12.18 um 16:43 schrieb Alexander Aring: > On Fri, Dec 28, 2018 at 05:57:53AM +0100, Andreas Färber wrote: >> Am 24.12.18 um 16:32 schrieb Alexander Aring: >>> On Tue, Dec 18, 2018 at 02:50:58PM +0100, Xue Liu wrote: On Mon, 17 Dec 2018 at 15:19, Andreas Färber wrote: > Am 17.12.18 u

Re: [PATCH 00/20] drop useless LIST_HEAD

2018-12-28 Thread Julia Lawall
On Fri, 28 Dec 2018, Darrick J. Wong wrote: > On Thu, Dec 27, 2018 at 04:40:55PM +0300, Dan Carpenter wrote: > > On Tue, Dec 25, 2018 at 11:12:20PM +0100, Tom Psyborg wrote: > > > there was discussion about this just some days ago. CC 4-5 lists is > > > more than enough > > > > > > > I don't kn

Re: [PATCH 1/1] net-next/hinic:add shutdown callback

2018-12-28 Thread David Miller
From: Xue Chaojing Date: Fri, 28 Dec 2018 00:20:40 + > @@ -1106,6 +1106,13 @@ static void hinic_remove(struct pci_dev *pdev) > dev_info(&pdev->dev, "HiNIC driver - removed\n"); > } > > +static void hinic_shutdown(struct pci_dev *pdev) > +{ > + pci_disable_device(pdev); > + > +

Re: [PATCH net-next v2] net: ipv4: allocate ipv4_devconf memory for init_net

2018-12-28 Thread David Miller
The net-next tree is closed. Please resubmit this when the net-next tree opens back up. Thank you.

Re: [PATCH v2] net: arcnet: Fix a possible concurrency use-after-free bug in arcnet_reply_tasklet()

2018-12-28 Thread David Miller
From: Jia-Ju Bai Date: Thu, 27 Dec 2018 10:01:42 +0800 > @@ -401,6 +401,7 @@ static void arcnet_reply_tasklet(unsigned long data) > struct sock_exterr_skb *serr; > struct sock *sk; > int ret; > + unsigned long flags; > > local_irq_disable(); > skb = lp->outgoin

Re: [PATCH] isdn: hisax: hfc_pci: Fix a possible concurrency use-after-free bug in HFCPCI_l1hw()

2018-12-28 Thread David Miller
From: Jia-Ju Bai Date: Wed, 26 Dec 2018 22:09:34 +0800 > In drivers/isdn/hisax/hfc_pci.c, the functions hfcpci_interrupt() and > HFCPCI_l1hw() may be concurrently executed. > > HFCPCI_l1hw() > line 1173: if (!cs->tx_skb) > > hfcpci_interrupt() > line 942: spin_lock_irqsave(); > line 1066:

Re: [PATCH net] ethtool: check the return value of get_regs_len

2018-12-28 Thread David Miller
From: Yunsheng Lin Date: Wed, 26 Dec 2018 19:51:46 +0800 > The return type for get_regs_len in struct ethtool_ops is int, > the hns3 driver may return error when failing to get the regs > len by sending cmd to firmware. > > Signed-off-by: Yunsheng Lin > --- > Note: There is not Fixes tags for t

Re: [PATCH 00/20] drop useless LIST_HEAD

2018-12-28 Thread Darrick J. Wong
On Thu, Dec 27, 2018 at 04:40:55PM +0300, Dan Carpenter wrote: > On Tue, Dec 25, 2018 at 11:12:20PM +0100, Tom Psyborg wrote: > > there was discussion about this just some days ago. CC 4-5 lists is > > more than enough > > > > I don't know who you were discussing this with... > > You should CC t

Re: [PATCH] ipv4: fib_rules: Fix possible infinite loop in fib_empty_table

2018-12-28 Thread David Miller
From: YueHaibing Date: Wed, 26 Dec 2018 16:34:20 +0800 > diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c > index f8eb78d..1567e12 100644 > --- a/net/ipv4/fib_rules.c > +++ b/net/ipv4/fib_rules.c > @@ -200,9 +200,13 @@ static struct fib_table *fib_empty_table(struct net *net) > { >

Re: [PATCH v3] soc/fsl/qe: fix err handling of ucc_of_parse_tdm

2018-12-28 Thread David Miller
From: Peng Hao Date: Wed, 26 Dec 2018 16:26:29 +0800 > diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c > index 839fa77..8ce4921f 100644 > --- a/drivers/net/wan/fsl_ucc_hdlc.c > +++ b/drivers/net/wan/fsl_ucc_hdlc.c > @@ -1057,6 +1057,27 @@ static const struct net_devic

[RFC bpf-next v3 09/12] nfp: bpf: split up the skip flag

2018-12-28 Thread Jakub Kicinski
We fail program loading if jump lands on a skipped instruction. This is for historical reasons, it used to be that we only skipped instructions optimized out based on prior context, and therefore the optimization would be buggy if we jumped directly to such instruction (because the context would be

[RFC bpf-next v3 12/12] nfp: bpf: support removing dead code

2018-12-28 Thread Jakub Kicinski
Add a verifier callback to the nfp JIT to remove the instructions the verifier deemed to be dead. Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- drivers/net/ethernet/netronome/nfp/bpf/main.h | 6 - .../net/ethernet/netronome/nfp/bpf/offload.c | 5 .../net/ethernet/net

[RFC bpf-next v3 11/12] nfp: bpf: support optimizing dead branches

2018-12-28 Thread Jakub Kicinski
Verifier will now optimize out branches to dead code, implement the replace_insn callback to take advantage of that optimization. Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- drivers/net/ethernet/netronome/nfp/bpf/main.h | 14 .../net/ethernet/netronome/nfp/bpf/offload

[RFC bpf-next v3 04/12] bpf: verifier: remove unconditional branches by 0

2018-12-28 Thread Jakub Kicinski
Unconditional branches by 0 instructions are basically noops but they can result from earlier optimizations, e.g. a conditional jumps which would never be taken or a conditional jump around dead code. Remove those branches. v0.2: - s/opt_remove_dead_branches/opt_remove_nops/ (Jiong). Signed-off

[RFC bpf-next v3 00/12] bpf: dead code elimination

2018-12-28 Thread Jakub Kicinski
Hi! This set adds support for complete removal of dead code. Patch 3 contains all the code removal logic, patches 2 and 4 additionally optimize branches around and to dead code. Patches 6 and 7 allow offload JITs to take advantage of the optimization. After a few small clean ups (8, 9, 10) nfp

[RFC bpf-next v3 05/12] selftests: bpf: add tests for dead code removal

2018-12-28 Thread Jakub Kicinski
Add tests for newly added dead code elimination. Both verifier and BTF tests are added. BTF test infrastructure has to be extended to be able to account for line info which is eliminated during dead code removal. Signed-off-by: Jakub Kicinski --- tools/testing/selftests/bpf/test_btf.c | 3

[RFC bpf-next v3 02/12] bpf: verifier: hard wire branches to dead code

2018-12-28 Thread Jakub Kicinski
Loading programs with dead code becomes more and more common, as people begin to patch constants at load time. Turn conditional jumps to unconditional ones, to avoid potential branch misprediction penalty. This optimization is enabled for privileged users only. For branches which just fall throug

[RFC bpf-next v3 10/12] nfp: bpf: save original program length

2018-12-28 Thread Jakub Kicinski
Instead of passing env->prog->len around, and trying to adjust for optimized out instructions just save the initial number of instructions in struct nfp_prog. Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- drivers/net/ethernet/netronome/nfp/bpf/jit.c | 4 ++-- drivers/net/et

[RFC bpf-next v3 08/12] nfp: bpf: don't use instruction number for jump target

2018-12-28 Thread Jakub Kicinski
Instruction number is meaningless at code gen phase. The target of the instruction is overwritten by nfp_fixup_branches(). The convention is to put the raw offset in target address as a place holder. See cmp_* functions. Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- drivers/n

[RFC bpf-next v3 07/12] bpf: notify offload JITs about optimizations

2018-12-28 Thread Jakub Kicinski
Let offload JITs know when instructions are replaced and optimized out, so they can update their state appropriately. The optimizations are best effort, if JIT returns an error from any callback verifier will stop notifying it as state may now be out of sync, but the verifier continues making prog

[RFC bpf-next v3 06/12] bpf: verifier: record original instruction index

2018-12-28 Thread Jakub Kicinski
The communication between the verifier and advanced JITs is based on instruction indexes. We have to keep them stable throughout the optimizations otherwise referring to a particular instruction gets messy quickly. Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- include/linux/bpf

[RFC bpf-next v3 03/12] bpf: verifier: remove dead code

2018-12-28 Thread Jakub Kicinski
Instead of overwriting dead code with jmp -1 instructions remove it completely for root. Adjust verifier state and line info appropriately. v2: - adjust func_info (Alexei); - make sure first instruction retains line info (Alexei). Signed-off-by: Jakub Kicinski --- include/linux/filter.h |

[RFC bpf-next v3 01/12] bpf: change parameters of call/branch offset adjustment

2018-12-28 Thread Jakub Kicinski
In preparation for code removal change parameters to branch and call adjustment functions to be more universal. The current parameters assume we are patching a single instruction with a longer set. A diagram may help reading the change, this is for the patch single case, patching instruction 1 wi

Re: [PATCH net] net: phy: replace preliminary fix for PHY driver sometimes not binding to the device

2018-12-28 Thread Florian Fainelli
Le 12/28/18 à 6:42 PM, Florian Fainelli a écrit : > Le 12/24/18 à 3:21 AM, Heiner Kallweit a écrit : >> phy_device_create() uses request_module() to load the PHY driver module >> based on the PHY ID of the device. There is some timing issue which >> sometimes prevents the PHY driver to bind to the

Re: [PATCH net] net: phy: replace preliminary fix for PHY driver sometimes not binding to the device

2018-12-28 Thread Florian Fainelli
Le 12/24/18 à 3:21 AM, Heiner Kallweit a écrit : > phy_device_create() uses request_module() to load the PHY driver module > based on the PHY ID of the device. There is some timing issue which > sometimes prevents the PHY driver to bind to the device. In such cases > the genphy driver is used what

BUG: unable to handle kernel paging request in slhc_free

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16771b1540 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link: https://syzkaller.appsp

RE: [PATCH] net: tsn: add an netlink interface between kernel and application layer

2018-12-28 Thread PO LIU
Hi Vinicius, Thank you very much for your feedback. I know the CBS is used to be most important part of AVB. And qdiscs is good tool to configure qos. But as you know, the TSN family is a cluster of protocols and much extending the AVB. The protocols have different functionalities and they m

Re: [PATCH] netfilter: fix a missing check of nla put failure

2018-12-28 Thread Pablo Neira Ayuso
On Fri, Dec 21, 2018 at 12:46:23AM -0600, Kangjie Lu wrote: > If nla_nest_start() may fail. The fix checks its return value and goes > to nla_put_failure if it fails. Applied, thanks.

Re: [PATCH RFC lora-next 2/4] net: lora: sx1301: add minimal to get AGC working prior to tx work

2018-12-28 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > As part of initialisation when opening the lora device after loading > the AGC firmware we need to satisfy its startup procedure which involves > a few steps; > > Loading a 16 entry lookup table. > For this I have hard coded the laird ETSI certi

KASAN: invalid-free in x25_asy_free

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13c11a3b40 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link: https://syzkaller.appsp

Re: [PATCH RFC lora-next 1/4] net: lora: sx125x sx1301: correct style warnings

2018-12-28 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > Checkpatch highlights some style issues which need to be addressed. > > Signed-off-by: Ben Whitten > --- > drivers/net/lora/sx125x.c | 20 +-- > drivers/net/lora/sx1301.c | 52 ++- > drivers/net/

Re: [PATCH v4] dt-bindings: net: dsa: ksz9477: add sample of switch bindings managed in i2c mode

2018-12-28 Thread Rob Herring
On Wed, Dec 19, 2018 at 08:46:26PM +0100, Sergio Paracuellos wrote: > Add device-tree binding example of the ksz9477 switch managed in i2c mode. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Sergio Paracuellos > --- > Changes v4: > - Use one tab formatting properly the binding sample. >

lan78xx: WARNING: irq 79 handler enabled interrupts

2018-12-28 Thread Stefan Wahren
Hi, while booting my Raspberry Pi 3 B+ with Linux 4.20 (arm64/defconfig) i'm getting the following warning: [ 11.005738] irq 79 handler irq_default_primary_handler+0x0/0x8 enabled interrupts [ 11.024703] WARNING: CPU: 0 PID: 0 at kernel/irq/handle.c:153 __handle_irq_event_percpu+0x154/0x168

KASAN: use-after-free Read in ax25_fillin_cb

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11502b1540 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link: https://syzkaller.appsp

[PATCH] net/ipv6: Fix a test against 'ipv6_find_idev()' return value

2018-12-28 Thread Christophe JAILLET
'ipv6_find_idev()' returns NULL on error, not an error pointer. Update the test accordingly and return -ENOBUFS, as already done in 'addrconf_add_dev()', if NULL is returned. Fixes: ("ipv6: allow userspace to add IFA_F_OPTIMISTIC addresses") Signed-off-by: Christophe JAILLET --- net/ipv6/addrcon

[PATCH v3 0/3] Add quirk for reading BD_ADDR from fwnode property

2018-12-28 Thread Matthias Kaehlcke
On some systems the Bluetooth Device Address (BD_ADDR) isn't stored on the Bluetooth chip itself. One way to configure the address is through the device tree (patched in by the bootloader). The btqcomsmd driver is an example, it can read the address from the DT property 'local-bd-address'. To avoi

[PATCH v3 1/3] Bluetooth: Add quirk for reading BD_ADDR from fwnode property

2018-12-28 Thread Matthias Kaehlcke
Add HCI_QUIRK_USE_BDADDR_PROPERTY to allow controllers to retrieve the public Bluetooth address from the firmware node property 'local-bd-address'. If quirk is set and the property does not exist or is invalid the controller is marked as unconfigured. Signed-off-by: Matthias Kaehlcke Reviewed-by:

[PATCH v3 2/3] Bluetooth: btqcomsmd: use HCI_QUIRK_USE_BDADDR_PROPERTY

2018-12-28 Thread Matthias Kaehlcke
Use the HCI_QUIRK_USE_BDADDR_PROPERTY quirk to let the HCI core handle the reading of 'local-bd-address'. With this there is no need to set HCI_QUIRK_INVALID_BDADDR, the case of a non-existing or invalid fwnode property is handled by the core code. Signed-off-by: Matthias Kaehlcke Reviewed-by: Ba

[PATCH v3 3/3] Bluetooth: hci_qca: Set HCI_QUIRK_USE_BDADDR_PROPERTY for wcn3990

2018-12-28 Thread Matthias Kaehlcke
Set quirk for wcn3990 to read BD_ADDR from a firmware node property. Signed-off-by: Matthias Kaehlcke Tested-by: Balakrishna Godavarthi --- Changes in v3: - none Changes in v2: - patch added to the series tested with https://lore.kernel.org/patchwork/patch/1003830 ("Bluetooth: hci_qca: Add hel

Re: [PATCH net] net: phy: replace preliminary fix for PHY driver sometimes not binding to the device

2018-12-28 Thread Heiner Kallweit
On 28.12.2018 22:02, David Miller wrote: > From: Heiner Kallweit > Date: Mon, 24 Dec 2018 12:21:12 +0100 > >> phy_device_create() uses request_module() to load the PHY driver module >> based on the PHY ID of the device. There is some timing issue which >> sometimes prevents the PHY driver to bind

Re: [PATCH net] net: phy: replace preliminary fix for PHY driver sometimes not binding to the device

2018-12-28 Thread David Miller
From: Heiner Kallweit Date: Mon, 24 Dec 2018 12:21:12 +0100 > phy_device_create() uses request_module() to load the PHY driver module > based on the PHY ID of the device. There is some timing issue which > sometimes prevents the PHY driver to bind to the device. In such cases > the genphy driver

Re: [PATCH net-next] Amiga PCMCIA 100 MBit card support

2018-12-28 Thread David Miller
From: Michael Schmitz Date: Sat, 22 Dec 2018 10:30:58 +1300 > Am 21.12.2018 um 13:10 schrieb David Miller: >> And in particular this huge complicated Kconfig construct is not >> maintainable at all. > > We can trim this down a bit (for reasons I've outlined before): > > +if APNE > +config APNE1

general protection fault in ax25cmp

2018-12-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:d8924c0d76aa Merge tag 'devprop-4.21-rc1' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=145051dd40 kernel config: https://syzkaller.appspot.com/x/.config?x=91a256823ef17263 da

Re: [RFC PATCH V2 3/3] vhost: access vq metadata through kernel virtual address

2018-12-28 Thread David Miller
From: Jason Wang Date: Fri, 28 Dec 2018 15:55:37 +0800 > +static int vhost_invalidate_vmap(struct vhost_virtqueue *vq, > + struct vhost_vmap *map, > + unsigned long uaddr, > + unsigned long start, > +

Re: [PATCH] net: tsn: add an netlink interface between kernel and application layer

2018-12-28 Thread Vinicius Costa Gomes
Hi, PO LIU writes: > This patch provids netlink method to configure the TSN protocols hardwares. > TSN guaranteed packet transport with bounded low latency, low packet delay > variation, and low packet loss by hardware and software methods. I don't think having another way to configure TSN feat

Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig

2018-12-28 Thread Alexander Aring
On Fri, Dec 28, 2018 at 05:57:53AM +0100, Andreas Färber wrote: > Hi Alexander and Xue Liu, > > Am 24.12.18 um 16:32 schrieb Alexander Aring: > > On Tue, Dec 18, 2018 at 02:50:58PM +0100, Xue Liu wrote: > >> On Mon, 17 Dec 2018 at 15:19, Andreas Färber wrote: > >>> Am 17.12.18 um 09:50 schrieb Xu

Re: [PATCH net-next] svcrdma: Fix an uninitialized variable false warning

2018-12-28 Thread Chuck Lever
> On Dec 20, 2018, at 4:49 AM, YueHaibing wrote: > > smatch warning this: > net/sunrpc/xprtrdma/svc_rdma_rw.c:351 svc_rdma_post_chunk_ctxt() error: > uninitialized symbol 'bad_wr' > net/sunrpc/xprtrdma/verbs.c:1569 rpcrdma_post_recvs() error: uninitialized > symbol 'bad_wr' > > 'bad_wr' is i

[PATCH iproute2] ip: support for xfrm interfaces

2018-12-28 Thread Matt Ellison
Support for new (4.19+) xfrm virtual interfaces. Interfaces take a 'if_id' which is an interface id which can be set on an xfrm policy as its interface lookup key (XFRMA_IF_ID). Signed-off-by: Matt Ellison --- ip/Makefile| 2 +- ip/iplink.c| 3 +- ip/link_xfrm.c | 90 +

Re: [PATCH net-next] vrf: Add VRF_F_BYPASS_RCV_NF flag to vrf device

2018-12-28 Thread David Ahern
On 12/27/18 2:38 AM, we...@ucloud.cn wrote: > From: wenxu > > In the ip_rcv the skb go through the PREROUTING hook first, > Then jump in vrf device go through the same hook again. > When conntrack work with vrf, there will be some conflict for rules. > Because the package go through the hook twic

Re: [PATCH v3 net] mv88e6060: disable hardware level MAC learning

2018-12-28 Thread Andrew Lunn
On Fri, Dec 28, 2018 at 09:22:55AM +0100, Pavel Machek wrote: > On Fri 2018-11-30 21:58:36, Anderson Luiz Alves wrote: > > Disable hardware level MAC learning because it breaks station roaming. > > When enabled it drops all frames that arrive from a MAC address > > that is on a different port at le

Re: Errors enabling bridge with KSZ9897 DSA switch driver

2018-12-28 Thread Andrew Lunn
> FYI, changing the code in question to return 0 instead of -EOPNOTSUPP in > the missing brport_flags_support flag case allows systemd-networkd to > initialize the port successfully. We have some other issues in our > hardware setup that prevent me from testing that fully at the moment, > but I wil

Re: [BUG] net: sungem: device driver frees DMA memory with wrong function

2018-12-28 Thread Christoph Hellwig
Please try this patch: diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index a52c6409bdc2..f454e0ed1398 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -284,32 +284,25 @@ static inline void dma_direct_sync_sg_for_cpu(struct device *dev, } #en

Re: [PATCH v3 net] mv88e6060: disable hardware level MAC learning

2018-12-28 Thread Pavel Machek
On Fri 2018-11-30 21:58:36, Anderson Luiz Alves wrote: > Disable hardware level MAC learning because it breaks station roaming. > When enabled it drops all frames that arrive from a MAC address > that is on a different port at learning table. > > Signed-off-by: Anderson Luiz Alves Will not this

[PATCH 1/1] net-next/hinic:add shutdown callback

2018-12-28 Thread Xue Chaojing
This patch add shutdown callback for hinic. Signed-off-by: Xue Chaojing --- drivers/net/ethernet/huawei/hinic/hinic_main.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/huawei/hinic/hinic_main.c b/drivers/net/ethernet/huawei/hinic/hinic_main.c index 6d48dc62a4