OSDN Git Service

bridge: allow ext learned entries to change ports
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 3 Jul 2017 22:14:59 +0000 (15:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2017 08:49:44 +0000 (01:49 -0700)
commit7597b266c56feaad7d4e6e65822766e929407da2
tree31fd22be84c3ce80d04e452920969f35765a5d70
parente05a90ec9e1680952454ea9510da9a761a5baac9
bridge: allow ext learned entries to change ports

current code silently ignores change of port in the request
message. This patch makes sure the port is modified and
notification is sent to userspace.

Fixes: cf6b8e1eedff ("bridge: add API to notify bridge driver of learned FBD on offloaded device")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c