Add critical section on netlink send message

This commit is contained in:
vemax78
2014-12-24 13:31:24 +01:00
parent 33ea96d9f5
commit 80b1780d92
2 changed files with 27 additions and 17 deletions

View File

@ -24,6 +24,7 @@ struct ac_kmod_handle {
int nlsmartcapwap_id;
/* Send message */
capwap_lock_t msglock;
struct nl_sock* nlmsg;
struct nl_cb* nlmsg_cb;
};