summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2020-06-23 11:05:41 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-23 14:38:05 -0700
commit7882c895b71b8cd6c81946fcc8e13d15a2841de7 (patch)
tree20a600442e4e86d13643d03771909596ce875f31 /kernel
parent2464bc7c2897b7549146a743045089d3aea7b85b (diff)
downloadlinux-7882c895b71b8cd6c81946fcc8e13d15a2841de7.tar.bz2
bridge: mrp: Validate when setting the port role
This patch adds specific checks for primary(0x0) and secondary(0x1) when setting the port role. For any other value the function 'br_mrp_set_port_role' will return -EINVAL. Fixes: 20f6a05ef63594 ("bridge: mrp: Rework the MRP netlink interface") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions