diff options
author | Hubert Sokolowski <hubert.sokolowski@intel.com> | 2015-12-15 13:20:30 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-16 23:36:46 (GMT) |
commit | b3379041ddf68ba46c31fce741ddb71675b39d23 (patch) | |
tree | 46011e4e7be10bb582d380beeb807464b102cc3b /net/tipc/core.h | |
parent | 04ad37836cc132a2127d8a7de340ffbc912b2c7d (diff) | |
download | linux-b3379041ddf68ba46c31fce741ddb71675b39d23.tar.xz |
net: Pass ndm_state to route netlink FDB notifications.
Before this change applications monitoring FDB notifications
were not able to determine whether a new FDB entry is permament
or not:
bridge fdb add f1:f2:f3:f4:f5:f8 dev sw0p1 temp self
bridge fdb add f1:f2:f3:f4:f5:f9 dev sw0p1 self
bridge monitor fdb
f1:f2:f3:f4:f5:f8 dev sw0p1 self permanent
f1:f2:f3:f4:f5:f9 dev sw0p1 self permanent
With this change ndm_state from the original netlink message
is passed to the new netlink message sent as notification.
bridge fdb add f1:f2:f3:f4:f5:f6 dev sw0p1 self
bridge fdb add f1:f2:f3:f4:f5:f7 dev sw0p1 temp self
bridge monitor fdb
f1:f2:f3:f4:f5:f6 dev sw0p1 self permanent
f1:f2:f3:f4:f5:f7 dev sw0p1 self static
Signed-off-by: Hubert Sokolowski <hubert.sokolowski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.h')
0 files changed, 0 insertions, 0 deletions