From: Sridhar Samudrala Date: Tue, 17 Sep 2013 19:12:40 +0000 (-0700) Subject: vxlan: Avoid creating fdb entry with NULL destination X-Git-Tag: v3.12-rc2~14^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2936b6ab455433a5ad14c7a1d2473afe1fa3faa7;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed