diff options
author | Jiri Benc <jbenc@redhat.com> | 2015-09-24 13:50:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-26 22:40:55 -0700 |
commit | 205f356d165033443793a97a668a203a79a8723a (patch) | |
tree | 8446b00352c0008eddb86d8c80e876ee749c7263 /net/openvswitch | |
parent | 8b7a7048220f86547db31de0abe1ea6dd2cfa892 (diff) | |
download | op-kernel-dev-205f356d165033443793a97a668a203a79a8723a.zip op-kernel-dev-205f356d165033443793a97a668a203a79a8723a.tar.gz |
vxlan: make vxlan_sock_add and vxlan_sock_release complementary
Make vxlan_sock_add both alloc the socket and attach it to vxlan_dev. Let
vxlan_sock_release accept vxlan_dev as its parameter instead of vxlan_sock.
This makes vxlan_sock_add and vxlan_sock release complementary. It reduces
code duplication in the next patch.
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions