vxlan: check rtnl_configure_link return code correctly
authorFabian Frederick <fabf@skynet.be>
Fri, 25 Sep 2020 13:16:59 +0000 (15:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 23:58:07 +0000 (16:58 -0700)
commit2eabcb8afe74304458ee47ee175bc16b770b7d20
tree8ca41037cda1e2e542aad4e258eb47e7b2b7394c
parent546c044c9651e81a16833806feff6b369bb5de33
vxlan: check rtnl_configure_link return code correctly

rtnl_configure_link is always checked if < 0 for error code.

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