247624 Commits

Author SHA1 Message Date
maya
f4f4101902 we cannot guarantee that m_pulldown doesn't fail, as it may fail even
if temporarily out of memory, and it will free the mbuf in this scenario.

test for failure and return error if it happens.

CID 1396651

ok riastradh
2017-01-11 00:55:57 +00:00
maya
c4842130d0 on error, free the mbuf in vmxnet3_txq_offload_ctx, not in callers.
ok riastradh
2017-01-11 00:51:22 +00:00
maya
87da0b3520 GC unused macros.
Even if they were used (and actually asserted), asserting on !mutex_owned
is generally a bad idea, as it may be true in unexpected contexts.

suggested by riastradh, thanks.
2017-01-11 00:41:38 +00:00
roy
98102593fe Use the window's screen's terminal. 2017-01-10 23:49:20 +00:00
roy
cc74ade3a6 Fix resizing terms. 2017-01-10 23:28:45 +00:00
christos
b24d1ed257 Don't include <sys/stat.h>; it is optional even in X/Open. 2017-01-10 23:08:13 +00:00
christos
9616dacfef mark parameter as unused. 2017-01-10 23:06:06 +00:00
christos
7fc7897d31 need <sys/stat.h> 2017-01-10 22:37:44 +00:00
christos
25f1087ae3 more tests needing <sys/stat.h> 2017-01-10 22:36:29 +00:00
christos
e56151ab6a need <sys/stat.h> 2017-01-10 22:24:29 +00:00
christos
84802888eb need <sys/stat.h> 2017-01-10 22:10:22 +00:00
pgoyette
4869ce0a43 Use membar_{producer,consumer}() to ensure proper access to the "ready"
flag.
2017-01-10 22:08:14 +00:00
roy
e56dac4e35 Use the terminal of the SCREEN of the WINDOW rather than cur_term
for window attribute functions.
2017-01-10 21:56:50 +00:00
christos
f4547403ad need <sys/stat.h> 2017-01-10 21:15:54 +00:00
christos
6dbf86bc11 need <sys/stat.h> for DEFFILEMODE etc. 2017-01-10 21:15:23 +00:00
christos
32377daaf2 need <sys/stat.h> 2017-01-10 21:14:51 +00:00
christos
1df62eba0c needs <sys/stat.h> 2017-01-10 21:14:13 +00:00
christos
5326356364 refactor includes, add <sys/stat.h> 2017-01-10 21:13:45 +00:00
christos
a80110f6b6 need <sys/stat.h> 2017-01-10 21:08:48 +00:00
christos
7d85ef5c1f need <sys/stat.h> for chmod 2017-01-10 21:08:15 +00:00
christos
6aea766547 need <time.h> for clock_gettime 2017-01-10 21:07:17 +00:00
christos
9009c648c6 need <sys/stat.h> 2017-01-10 21:04:06 +00:00
christos
59d9f8355d need <sys/types.h> 2017-01-10 21:03:36 +00:00
christos
22e2f96812 need <sys/stat.h> 2017-01-10 20:57:26 +00:00
christos
0f64b50934 need <sys/stat.h> for chmod(2) 2017-01-10 20:56:41 +00:00
christos
9878dfd06c need <sys/stat.h> 2017-01-10 20:53:09 +00:00
christos
ec09bb40fd fix includes, addr __RCSID 2017-01-10 20:49:20 +00:00
joerg
819c8ff81a Import LLVM pre-4.0.0 r291444. 2017-01-10 20:48:34 +00:00
christos
ce0cfa0c1e need <sys/stat.h> ... for stat() 2017-01-10 20:48:12 +00:00
christos
cc8b3fb098 need <sys/stat.h> for fstat() 2017-01-10 20:47:05 +00:00
christos
4ffcc39190 missing <sys/stat.h> 2017-01-10 20:45:53 +00:00
christos
8cdbd53a62 Need <sys/stat.h> for S_IFBLK. 2017-01-10 20:45:19 +00:00
christos
bad8f1c071 need <time.h> for time(3) 2017-01-10 20:44:05 +00:00
christos
7792ef1ac5 add missing <sys/stat.h> 2017-01-10 20:43:08 +00:00
christos
bb7174741f need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h> 2017-01-10 20:41:40 +00:00
christos
fa60103ea6 ned stat.h 2017-01-10 20:40:53 +00:00
christos
7c2c9f2e62 add <stdio.h> 2017-01-10 20:35:49 +00:00
christos
1aeddccb19 add a couple of lint comments. 2017-01-10 20:32:27 +00:00
christos
2c1d98b710 missing <sys/stat.h> include. 2017-01-10 20:29:48 +00:00
christos
4ad16b3e7c PR/51814: Ngie Cooper: add <stdio.h> since sys_nerr is declared there on
FreeBSD.
2017-01-10 20:25:48 +00:00
christos
995970bea7 Needed <sys/time.h> that it got in the past by side-effect loading
of <sys/stat.h> from <fcntl.h>. Go figure.
2017-01-10 20:08:52 +00:00
christos
3391c5f1a7 fix a few warnings. 2017-01-10 19:20:34 +00:00
christos
4476579893 KNF, simplify expressions for readability. 2017-01-10 17:51:01 +00:00
christos
46629f8e5f pacify lint. 2017-01-10 17:50:24 +00:00
christos
6ddfa6c010 simplify cast. 2017-01-10 17:46:47 +00:00
christos
01b3cff52b add missing cast. 2017-01-10 17:46:26 +00:00
christos
56572bf5f5 cast for size_t 2017-01-10 17:45:58 +00:00
christos
14501124c4 use correct type for poll 2017-01-10 17:45:27 +00:00
christos
3707fb92bc include <sys/stat.h> 2017-01-10 17:45:12 +00:00
christos
d472a9154a add constcond 2017-01-10 17:44:51 +00:00