diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2013-04-23 11:05:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-25 04:14:08 -0400 |
commit | 37fe0660981d7a1577409226f77554c2c5123e27 (patch) | |
tree | 5a58c6c80f6ff19e6c70d1f7fbd9d4405bab7f88 /drivers/net/ethernet/emulex/benet/be_ethtool.c | |
parent | a11fbba9a7d338c4a4e4be624af0334bbf2c9a5a (diff) |
net: fix address check in rtnl_fdb_del
Commit 6681712d67eef14c4ce793561c3231659153a320
vxlan: generalize forwarding tables
relaxed the address checks in rtnl_fdb_del() to use is_zero_ether_addr().
This allows users to add multicast addresses using the fdb API. However,
the check in rtnl_fdb_del() still uses a more strict
is_valid_ether_addr() which rejects multicast addresses. Thus it
is possible to add an fdb that can not be later removed.
Relax the check in rtnl_fdb_del() as well.
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_ethtool.c')
0 files changed, 0 insertions, 0 deletions