diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-06-18 02:08:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-23 10:58:27 +0300 |
commit | 10ea5165e44ec8467e393a84ecfbf5732605d504 (patch) | |
tree | 40a498494b91fd1aa4365700318166e262126543 /drivers | |
parent | 54db01a20eb0485f586299aaaceb9d064e1482fe (diff) | |
download | linux-10ea5165e44ec8467e393a84ecfbf5732605d504.tar.xz |
switchdev: fdb filter_dev is always NULL for self (device), so remove check
Remove the filter_dev check when dumping fdb entries, otherwise dump
returns empty list. filter_dev is always passed as NULL when dumping fdbs
on SELF. We want the fdbs installed on the device to be listed in the
dump.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Fixes: 45d4122c ("switchdev: add support for fdb add/del/dump via switchdev_port_obj ops")
Acked-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions