| 923 | } |
| 924 | |
| 925 | static void |
| 926 | vxlan_socket_release(struct vxlan_socket *vso) |
| 927 | { |
| 928 | int destroy; |
| 929 | |
| 930 | VXLAN_LIST_LOCK(); |
| 931 | destroy = VXLAN_SO_RELEASE(vso); |
| 932 | if (destroy != 0) |
| 933 | LIST_REMOVE(vso, vxlso_entry); |
| 934 | VXLAN_LIST_UNLOCK(); |
| 935 | |
| 936 | if (destroy != 0) |
| 937 | vxlan_socket_destroy(vso); |
| 938 | } |
| 939 | |
| 940 | static struct vxlan_socket * |
| 941 | vxlan_socket_lookup(union vxlan_sockaddr *vxlsa) |
no test coverage detected