vxlan: consolidate output route calculation
authorJiri Benc <jbenc@redhat.com>
Tue, 2 Feb 2016 17:09:14 +0000 (18:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 18:51:00 +0000 (13:51 -0500)
commit1a8496ba409132afb3b407599061c34847de42d3
tree5503a0ef43641c450c4befb63ee63771a0fad7be
parent828788ac99d5de6bae10b333d1e8ddf25928ac12
vxlan: consolidate output route calculation

The code for output route lookup is duplicated for ndo_start_xmit and
ndo_fill_metadata_dst. Move it to a common function.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c