Improved session management into kernel module. A session is now indexed by

ip address and session id.
This commit is contained in:
vemax78
2014-10-20 19:53:32 +02:00
parent 8937ded1d3
commit e2dea6b3de
12 changed files with 239 additions and 196 deletions

View File

@ -251,7 +251,6 @@ int sc_capwap_bind(union capwap_addr* sockaddr) {
void sc_capwap_initsession(struct sc_capwap_session* session) {
TRACEKMOD("### sc_capwap_initsession\n");
INIT_LIST_HEAD(&session->list);
spin_lock_init(&session->fragmentid_lock);
/* Defragment packets */