Thread (21 messages) flat view 21 messages, 3 authors, 2017-03-13

Re: [patch net-next 05/10] net: vrf: Set slave's private flag before linking

From: David Ahern <hidden>
Date: 2017-03-13 15:20:19

On 3/13/17 1:38 AM, Jiri Pirko wrote:
From: Ido Schimmel <redacted>

Allow listeners of the subsequent CHANGEUPPER notification to retrieve
the VRF's table ID by calling l3mdev_fib_table() with the slave netdev.
Without this change, the netdev won't be considered an L3 slave and the
function would return 0.

This is consistent with other master device such as bridge and bond that
set the slave's private flag before linking. It also makes
do_vrf_{add,del}_slave() symmetric.

Signed-off-by: Ido Schimmel <redacted>
Signed-off-by: Jiri Pirko <redacted>
---
 drivers/net/vrf.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Acked-by: David Ahern <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help