Skip to content
Browse files

net/connection: Use slist to manage used/unused connections

This will optimize path when unused an connection is required or when
looking up a used one.

That said, at this stage, it bloats up the net_conn structure with 4
added bytes. More optimization will overcome this drawback.

Fixes #8722

Signed-off-by: Tomasz Bursztyka <>
  • Loading branch information...
tbursztyka authored and jukkar committed Apr 17, 2019
1 parent de6fd24 commit d85aabe2a672a7c3c831bb2d25569ab3ceb66e20
Showing with 212 additions and 188 deletions.
  1. +209 −188 subsys/net/ip/connection.c
  2. +3 −0 subsys/net/ip/connection.h

0 comments on commit d85aabe

Please sign in to comment.
You can’t perform that action at this time.