]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtnetlink: Use nlmsg type RTM_NEWNEIGH from dflt fdb dump
authorJohn Fastabend <john.r.fastabend@intel.com>
Thu, 1 Nov 2012 16:23:10 +0000 (16:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 19:27:08 +0000 (15:27 -0400)
commita7a558fe426adf22b0b979705167146bf16c37fa
treecfc4930849f73544afdbf6e249c418d735a830a7
parent87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99
rtnetlink: Use nlmsg type RTM_NEWNEIGH from dflt fdb dump

Change the dflt fdb dump handler to use RTM_NEWNEIGH to
be compatible with bridge dump routines.

The dump reply from the network driver handlers should
match the reply from bridge handler. The fact they were
not in the ixgbe case was effectively a bug. This patch
resolves it.

Applications that were not checking the nlmsg type will
continue to work. And now applications that do check
the type will work as expected.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c