]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: bridge: explicitly zero is_sticky in fdb_create
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 27 Sep 2018 12:05:10 +0000 (15:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:43:11 +0000 (10:43 -0700)
commit1288aa7af20cfa25cb00cf0d77f94d1891644c83
tree624687f27a6f25d4e4f54644f23d3c71048eea84
parent4605168f71fa8c0db0a2a900bdfcae851ebed7dd
net: bridge: explicitly zero is_sticky in fdb_create

We need to explicitly zero is_sticky when creating a new fdb, otherwise
we might get a stale value for a new entry.

Fixes: 435f2e7cc0b7 ("net: bridge: add support for sticky fdb entries")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c