vxlan: move encapsulation warning
authorFabian Frederick <fabf@skynet.be>
Fri, 25 Sep 2020 13:16:39 +0000 (15:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 23:58:07 +0000 (16:58 -0700)
commit546c044c9651e81a16833806feff6b369bb5de33
treef17d162bb18c097e7c24fba33caa93b9a2347fb2
parent0189399cbb5eba6e98f02b61574b507062c476b7
vxlan: move encapsulation warning

vxlan_xmit_one() was only called from vxlan_xmit() without rdst and
info was already tested. Emit warning in that function instead

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c