projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bridge: Optimize port_lookup() using a hash.
[openvswitch]
/
lib
/
stream.c
diff --git
a/lib/stream.c
b/lib/stream.c
index 2349b0c116be300ce1cb7953bbf5bde50c111628..43b73af0adf9f7f542019a031e57b3515a799298 100644
(file)
--- a/
lib/stream.c
+++ b/
lib/stream.c
@@
-25,6
+25,7
@@
#include <string.h>
#include "coverage.h"
#include "dynamic-string.h"
#include <string.h>
#include "coverage.h"
#include "dynamic-string.h"
+#include "fatal-signal.h"
#include "flow.h"
#include "ofp-print.h"
#include "ofpbuf.h"
#include "flow.h"
#include "ofp-print.h"
#include "ofpbuf.h"
@@
-237,6
+238,8
@@
stream_open_block(int error, struct stream **streamp)
{
struct stream *stream = *streamp;
{
struct stream *stream = *streamp;
+ fatal_signal_run();
+
while (error == EAGAIN) {
stream_run(stream);
stream_run_wait(stream);
while (error == EAGAIN) {
stream_run(stream);
stream_run_wait(stream);
@@
-570,6
+573,7
@@
pstream_accept_block(struct pstream *pstream, struct stream **new_stream)
{
int error;
{
int error;
+ fatal_signal_run();
while ((error = pstream_accept(pstream, new_stream)) == EAGAIN) {
pstream_wait(pstream);
poll_block();
while ((error = pstream_accept(pstream, new_stream)) == EAGAIN) {
pstream_wait(pstream);
poll_block();