commit | 3555621de7fcceb79c4850f3d07d1ae4f652acf6 | [log] [tgz] |
---|---|---|
author | Jiri Benc <jbenc@redhat.com> | Fri Sep 02 13:37:12 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 04 11:42:56 2016 -0700 |
tree | 49b85f27db9f38296be58675bcd84e623894276b | |
parent | 9b4cdd516dadc1b68c55ba24520194a06adff10c [diff] |
vxlan: fix duplicated and wrong error messages vxlan_dev_configure outputs error messages before returning, no need to print again the same mesages in vxlan_newlink. Also, vxlan_dev_configure may return a particular error code for a different reason than vxlan_newlink thinks. Move the remaining error messages into vxlan_dev_configure and let vxlan_newlink just pass on the error code. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>