diff options
author | Sridhar Samudrala <sri@us.ibm.com> | 2013-09-17 23:12:40 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-18 04:19:18 +0400 |
commit | 2936b6ab455433a5ad14c7a1d2473afe1fa3faa7 (patch) | |
tree | 836490da421f6242c89d12b05e038e417de8f0b2 /include | |
parent | 269aa759b474570fa642452742741525cfc226a9 (diff) | |
download | linux-2936b6ab455433a5ad14c7a1d2473afe1fa3faa7.tar.xz |
vxlan: Avoid creating fdb entry with NULL destination
Commit afbd8bae9c798c5cdbe4439d3a50536b5438247c
vxlan: add implicit fdb entry for default destination
creates an implicit fdb entry for default destination. This results
in an invalid fdb entry if default destination is not specified.
For ex:
ip link add vxlan1 type vxlan id 100
creates the following fdb entry
00:00:00:00:00:00 dev vxlan1 dst 0.0.0.0 self permanent
This patch fixes this issue by creating an fdb entry only if a
valid default destination is specified.
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions