bridge: don't indicate expiry on NTF_EXT_LEARNED fdb entries
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 16 Feb 2017 21:38:04 +0000 (13:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 18:56:56 +0000 (13:56 -0500)
commiteda7a5e88d95d8cc4315451dcfb74064773cbc02
tree5d078517250388273f5ce3b8d91ac582f2858c49
parenta2b4eb55ca81cd1968a942a593debddb3255d68a
bridge: don't indicate expiry on NTF_EXT_LEARNED fdb entries

added_by_external_learn fdb entries are added and expired by
external entities like switchdev driver or external controllers.
ageing is already disabled for such entries. Hence, don't
indicate expiry for such fdb entries.

CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
CC: Jiri Pirko <jiri@resnulli.us>
CC: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c