Go to file
Ido Schimmel e1b9efe6ba net: Fix bridge enslavement failure
When a netdev is enslaved to a bridge, its parent identifier is queried.
This is done so that packets that were already forwarded in hardware
will not be forwarded again by the bridge device between netdevs
belonging to the same hardware instance.

The operation fails when the netdev is an upper of netdevs with
different parent identifiers.

Instead of failing the enslavement, have dev_get_port_parent_id() return
'-EOPNOTSUPP' which will signal the bridge to skip the query operation.
Other callers of the function are not affected by this change.

Fixes: 7e1146e8c1 ("net: devlink: introduce devlink_compat_switch_id_get() helper")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reported-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-10 15:06:48 -07:00
arch net: dsa: microchip: look for phy-mode in port nodes 2020-09-10 12:32:37 -07:00
block block-5.9-2020-09-04 2020-09-04 13:04:51 -07:00
certs
crypto
Documentation Kbuild fixes for v5.9 (2nd) 2020-09-04 13:34:52 -07:00
drivers net: mvneta: fix possible use-after-free in mvneta_xdp_put_buff 2020-09-10 15:03:49 -07:00
fs io_uring-5.9-2020-09-04 2020-09-04 12:55:22 -07:00
include net: Fix broken NETIF_F_CSUM_MASK spell in netdev_features.h 2020-09-10 13:30:22 -07:00
init init: fix error check in clean_path() 2020-09-04 09:16:58 -07:00
ipc
kernel gcov: Disable gcov build with GCC 10 2020-09-04 09:19:49 -07:00
lib
LICENSES
mm Merge branch 'simplify-do_wp_page' 2020-09-04 09:31:54 -07:00
net net: Fix bridge enslavement failure 2020-09-10 15:06:48 -07:00
samples
scripts kconfig: remove redundant assignment prompt = prompt 2020-09-03 12:21:22 +09:00
security
sound sound fixes for 5.9-rc4 2020-09-04 12:05:25 -07:00
tools perf tools fixes for v5.9: 2nd batch 2020-09-03 19:10:43 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS connector: Move maintainence under networking drivers umbrella. 2020-09-10 08:40:13 -07:00
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.