]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: add support for raw sysfs port options
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 23 Jul 2018 08:16:58 +0000 (11:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2018 16:32:15 +0000 (09:32 -0700)
commit4db1fa57bd71fb0e13e3ae0aea388c084ea74523
tree2af1e3ca1a922ea9f4c8ff03266313b1d7d25c12
parente909559a25cbdb6a8fc53c42dd2628770f383e35
net: bridge: add support for raw sysfs port options

This patch adds a new alternative store callback for port sysfs options
which takes a raw value (buf) and can use it directly. It is needed for the
backup port sysfs support since we have to pass the device by its name.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_sysfs_if.c