diff options
author | Alexandra Winter <wintera@linux.ibm.com> | 2020-09-10 19:23:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-15 13:21:47 -0700 |
commit | 780b6e7db25ed97248b7f747e98d2f7e7971156a (patch) | |
tree | 3eb0d8d7ee2bf95e03fe6d8dc40ce9c123aabba8 /usr/default_cpio_list | |
parent | 817741a8eaa21cc46baf6c4852e4ff83204b8181 (diff) | |
download | linux-780b6e7db25ed97248b7f747e98d2f7e7971156a.tar.bz2 |
s390/qeth: implement ndo_bridge_getlink for learning_sync
Documentation/networking/switchdev.txt and 'man bridge' indicate that the
learning_sync bridge attribute is used to indicate whether a given
device will sync MAC addresses learned on its device port to a master
bridge FDB.
learning_sync attribute can not be read while interface is offline (down).
See
'commit e6e771b3d897 ("s390/qeth: detach netdevice while card is offline")'
We return EOPNOTSUPP and not EONODEV in this case, because EONOTSUPP is the
only rc that is tolerated by 'bridge -d link show'.
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr/default_cpio_list')
0 files changed, 0 insertions, 0 deletions