Maintain separate async and sync connections to nl:0 in secchan.
authorBen Pfaff <blp@nicira.com>
Fri, 21 Nov 2008 21:05:37 +0000 (13:05 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 21 Nov 2008 21:05:37 +0000 (13:05 -0800)
commit14439fa80cb0031943c3a1ca252dfe26a3af38b1
tree29c8eef6a722f9ab0c41045e54467daaa2f42a61
parentc3a7107e9ef6d4c744c86b239042a20f58f81a9b
Maintain separate async and sync connections to nl:0 in secchan.

When a network link is flooded with traffic, secchan's OpenFlow socket
queue becomes congested with traffic.  This leaves no room for replies
to OpenFlow requests relayed to that socket by secchan.

This commit modifies secchan to use separate sockets for asynchronous
traffic and for OpenFlow requests/replies, which should avoid the problem.
secchan/secchan.c
secchan/secchan.h