vxlan: move Ethernet initialization to a separate function
authorJiri Benc <jbenc@redhat.com>
Tue, 5 Apr 2016 12:47:10 +0000 (14:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2016 20:50:31 +0000 (16:50 -0400)
commit0c867c9bf84ce2a998f83725bd363f66ce84d548
tree569b86f67e4563ca033d14f9cf1344080b750664
parent8a21ec4e0abb99884ef2da3e4f950025f3bf7fd3
vxlan: move Ethernet initialization to a separate function

This will allow to initialize vxlan in ARPHRD_NONE mode based on the passed
rtnl attributes.

v2: renamed "l2mode" to "ether".

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