diff options
author | 2020-06-19 02:08:48 +0000 | |
---|---|---|
committer | 2020-06-19 02:08:48 +0000 | |
commit | 8631d7d972792c6c7fa7099b8e25765d2df2a208 (patch) | |
tree | ea93174f0b60923a54cbba8b28be4f7e6641a19c /sys/sys/pipe.h | |
parent | sync (diff) | |
download | wireguard-openbsd-8631d7d972792c6c7fa7099b8e25765d2df2a208.tar.xz wireguard-openbsd-8631d7d972792c6c7fa7099b8e25765d2df2a208.zip |
backout pipe change, it crashes some arch
Diffstat (limited to 'sys/sys/pipe.h')
-rw-r--r-- | sys/sys/pipe.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h index 48c6e4672cd..bba43411c00 100644 --- a/sys/sys/pipe.h +++ b/sys/sys/pipe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pipe.h,v 1.25 2020/06/17 18:29:28 anton Exp $ */ +/* $OpenBSD: pipe.h,v 1.26 2020/06/19 02:08:48 deraadt Exp $ */ /* * Copyright (c) 1996 John S. Dyson @@ -67,8 +67,6 @@ struct pipebuf { #define PIPE_LOCK 0x100 /* Thread has exclusive I/O access. */ #define PIPE_LWANT 0x200 /* Thread wants exclusive I/O access. */ -struct pipe_pair; - /* * Per-pipe data structure. * Two of these are linked together to produce bi-directional pipes. @@ -87,7 +85,6 @@ struct pipe { struct timespec pipe_ctime; /* [I] time of status change */ struct sigio_ref pipe_sigio; /* [S] async I/O registration */ struct pipe *pipe_peer; /* [p] link with other direction */ - struct pipe_pair *pipe_pair; /* [I] pipe storage */ u_int pipe_state; /* [p] pipe status info */ int pipe_busy; /* [p] # readers/writers */ }; |