vxlan: simplify RTF_LOCAL handling.
authorpravin shelar <pshelar@ovn.org>
Mon, 14 Nov 2016 04:43:56 +0000 (20:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 17:16:13 +0000 (12:16 -0500)
commitfee1fad7c73dd006f50115ddc538a2e20f3b0c6c
treeaa7f2285e8a4ac39dc49ebd39ce6378d644ac1db
parent655c3de16540b8496273514658a6ad4cb31e01b4
vxlan: simplify RTF_LOCAL handling.

Avoid code duplicate code for handling RTF_LOCAL routes.

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c