slirp: Add a special case for the NULL socket
commit13146a83951e045c810c37c5c11c2a016ebc0663
authorKevin Cernekee <cernekee@chromium.org>
Wed, 20 Sep 2017 20:42:05 +0000 (20 13:42 -0700)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 24 Sep 2017 18:04:09 +0000 (24 20:04 +0200)
tree5decf48f78a082c0baac73aac5b60d0bc42b3d53
parente2aad34d73a9bd2b95275598daf05f190a02b899
slirp: Add a special case for the NULL socket

NULL sockets are used for NDP, BOOTP, and other critical operations.
If the topmost mbuf in a NULL session is blocked pending resolution,
it may cause problems if it blocks other packets with a NULL socket.
So do not add mbufs with a NULL socket field to the same session.

Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/if.c