diff options
author | Sridhar Samudrala <sri@us.ibm.com> | 2013-09-17 12:12:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-17 20:19:18 -0400 |
commit | 2936b6ab455433a5ad14c7a1d2473afe1fa3faa7 (patch) | |
tree | 836490da421f6242c89d12b05e038e417de8f0b2 /include | |
parent | 269aa759b474570fa642452742741525cfc226a9 (diff) | |
download | kernel-common-2936b6ab455433a5ad14c7a1d2473afe1fa3faa7.tar.gz kernel-common-2936b6ab455433a5ad14c7a1d2473afe1fa3faa7.tar.bz2 kernel-common-2936b6ab455433a5ad14c7a1d2473afe1fa3faa7.zip |
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