bridge: netlink: add fdb flush
Simple attribute that flushes the bridge's fdb. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

کامیت شده توسط
David S. Miller

والد
111189abc5
کامیت
150217c688
@@ -859,6 +859,9 @@ static int br_changelink(struct net_device *brdev, struct nlattr *tb[],
|
||||
br_recalculate_fwd_mask(br);
|
||||
}
|
||||
|
||||
if (data[IFLA_BR_FDB_FLUSH])
|
||||
br_fdb_flush(br);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
مرجع در شماره جدید
Block a user