christos
d352a1f1ba
convert strcpy to a bounded copy to avoid compiler warnings, although the
...
reclen test prevents overflow.
2017-01-13 20:58:59 +00:00
christos
fb2eabe89d
convert strcpy to a bounded copy to avoid compiler warnings, although the
...
reclen test prevents overflow.
2017-01-13 20:24:37 +00:00
christos
223f5b4030
this was fine before...
2017-01-13 19:53:10 +00:00
maya
a51c443745
replace old style declaration
2017-01-13 19:33:10 +00:00
christos
ddcad3a9e1
elide conversion warning.
2017-01-13 19:30:38 +00:00
christos
0905c6150f
making this use mips assembly is a good start!
2017-01-13 19:10:14 +00:00
christos
6a20f05bb9
Fix unsigned
2017-01-13 18:04:36 +00:00
christos
f174ea71af
Don't play with the linked list while holding only a read lock!
2017-01-13 15:17:00 +00:00
maya
d7b97dde8a
Remove more dead code
...
RAY_DEF_NWID is a constant string and so is the length, it's
pointless the length is larger than zero.
2017-01-13 14:48:18 +00:00
christos
c0614acad2
more faithful to the original (from coypu)
2017-01-13 13:01:13 +00:00
nonaka
4480eb3627
iwm(4): 3165 works fine with iwlwifi-7265D-17.ucode firmware.
...
firmware from http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=be8a6fcba2e48e00674d1f35e6def56e2268039c
2017-01-13 11:21:47 +00:00
ozaki-r
e4f13796f3
Tweak icmp6_input; always use off, not *offp
2017-01-13 10:38:37 +00:00
hannken
cfa69dcf1b
Add file-local iterator variant vfs_vnode_iterator_next1() that
...
waits for vnodes to become reclaimed and use it from vflush().
2017-01-13 10:10:32 +00:00
christos
d8dfcd6c2a
regen
2017-01-13 06:18:31 +00:00
msaitoh
98ff4b5f9f
Fix a bug that the parent interface's callback wasn't called when the vlan
...
interface is configured. A callback function uses VLAN_ATTACHED() function
which check ec->ec_nvlans, the value should be incremented before calling the
callback. This bug was added in if_vlan.c rev. 1.83 (2015/11/19).
2017-01-13 06:11:56 +00:00
christos
a1a8fc3617
const police!
2017-01-13 06:11:27 +00:00
christos
105115c2ab
Don't define PT_{S,G}ETREGS on the command line. Yes, it can make things
...
compile, but when it does, it is always bogus!
2017-01-13 06:04:48 +00:00
christos
d10747c624
welcome to the constant age.
2017-01-13 05:35:20 +00:00
christos
9d4c7048f5
Add missing forward decl.
2017-01-13 05:26:42 +00:00
christos
b77712dd0e
add missing forward struct decl
2017-01-13 04:43:16 +00:00
christos
15a8367e55
Don't consider a disk hosed if we did not find a column for it; dedup code.
2017-01-13 04:22:16 +00:00
joerg
3ddb200518
Remove some manual size tuning that no longer seems to be needed.
2017-01-12 22:16:29 +00:00
christos
3d8350ba37
fix sign issues
2017-01-12 19:03:09 +00:00
christos
44b1505578
friendlier to _KMEMUSER
2017-01-12 18:50:17 +00:00
christos
31613a05ed
fix sign confusion
2017-01-12 18:40:02 +00:00
christos
d92cd42ea3
make __sigmask unsigned
2017-01-12 18:29:14 +00:00
maya
f8d901fcdb
Appease coverity which is having nightmares about strings not being
...
null-terminated by using strlcpy rather than strncpy when it doesn't
matter.
ok christos.
2017-01-12 18:26:08 +00:00
ryo
de1b0d7b6e
* pfil_add_hook() no longer treats PFIL_IFADDR and PFIL_IFNET. delete them from pfil_flag_cases[].
...
* add/fix KASSERT
* fix comment
2017-01-12 17:19:17 +00:00
maya
23a5d00df5
Remove dead code. RAY_DEF_NWID is a constant string, its length will never
...
be above 32.
2017-01-12 17:11:22 +00:00
isaki
e9bbb736c5
Fix the possibility of off-by-one on the grammer. Reported by coypu.
...
Currently it never happens because type is (minor number % 7) and
the arraycount of fd_types[] is 8. I.e., it is a dead code...
However, when the capacity of the FDTYPE() changes or the arraycount
of fd_types[] changes, this correction will be effective.
2017-01-12 14:24:53 +00:00
skrll
abf21415a7
Sync with latest github/raspberrypi/linux sources
...
XXX should provide a vchiq2netbsd and cvs import
2017-01-12 05:41:25 +00:00
skrll
66cda12899
Use some macros for magic numbers and correct return value.
2017-01-12 05:35:45 +00:00
skrll
c308db6ba1
Sync memory barriers with sys/external/bsd/drm2/include/asm/barrier.h
2017-01-12 05:25:03 +00:00
ryo
5df7357f26
white space police
2017-01-12 05:24:36 +00:00
ozaki-r
046e2eafb0
Prevent in6_ifaddr from being freed with holding its psref
...
This is a possible fix for PR kern/51828.
2017-01-12 04:43:59 +00:00
maya
8f95888833
fix off by one.
...
ok riastradh
2017-01-12 01:12:08 +00:00
maya
3a46f472fa
fix off by one
2017-01-11 22:09:38 +00:00
maya
92fa6e3b61
fix off by one.
...
ok riastradh
2017-01-11 21:44:50 +00:00
maya
ca086e0f97
also fix this other off by one.
2017-01-11 19:42:02 +00:00
maya
7920d5fd26
fix off by one.
...
ok riastradh
2017-01-11 19:32:25 +00:00
christos
2ca7f46c7a
need <sys/stat.h>
2017-01-11 18:32:48 +00:00
christos
88f657f139
Add KASSERT.
2017-01-11 18:25:46 +00:00
christos
edd2c34241
PR/51827: David Binderman: delete pointless local variable
2017-01-11 18:19:29 +00:00
hannken
0365dd0e1a
Adapt to the recent vnode changes.
2017-01-11 14:52:02 +00:00
ozaki-r
2b82ef9b8f
Get rid of unnecessary header inclusions
2017-01-11 13:08:29 +00:00
joerg
f9c2736326
Disable a couple of warnings until further investigation.
2017-01-11 12:19:43 +00:00
joerg
6ff696c6b4
Add ddb command to find a vnode by the address of its lock.
...
This makes it much easier to convert lockstat traces into understandable
data.
2017-01-11 12:17:34 +00:00
joerg
9d57ec4a6c
Don't cast the result of abs() to int, but the argument.
2017-01-11 12:14:32 +00:00
joerg
a88ba739cb
Remove RO check in tmpfs_putpages for now, the syncer doesn't like the
...
error code.
2017-01-11 12:12:32 +00:00
skrll
854028ba0d
Add a reinit_completion function
2017-01-11 11:42:09 +00:00