projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Update netdev_frame_hook() for 2.6.39 rx handler API change.
[openvswitch]
/
lib
/
socket-util.c
diff --git
a/lib/socket-util.c
b/lib/socket-util.c
index e0f34e71409dec627e16f9938b5512f20534e662..12bbc716d91dcff972d06a2472be1dd949406c36 100644
(file)
--- a/
lib/socket-util.c
+++ b/
lib/socket-util.c
@@
-767,3
+767,10
@@
get_mtime(const char *file_name, struct timespec *mtime)
}
}
+void
+xpipe(int fds[2])
+{
+ if (pipe(fds)) {
+ VLOG_FATAL("failed to create pipe (%s)", strerror(errno));
+ }
+}