]> Pileus Git - ~andy/linux/commit
net: add fdb generic dump routine
authorJohn Fastabend <john.r.fastabend@intel.com>
Sun, 15 Apr 2012 06:44:08 +0000 (06:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Apr 2012 17:06:04 +0000 (13:06 -0400)
commitd83b060360485454fcd6870340ec01d6f96f2295
tree585401410d99166000ebfe0aceedd426edb3622d
parent12a94634453c61fd9a11c4702002e3db6d4feb70
net: add fdb generic dump routine

This adds a generic dump routine drivers can call. It
should be sufficient to handle any bridging model that
uses the unicast address list. This should be most SR-IOV
enabled NICs.

v2: return error on nlmsg_put and use -EMSGSIZE instead
    of -ENOMEM this is inline other usages

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