skrll
9b566f7a87
Pull across from nick-nhusb. This really should be fixed to use the
...
appropriate FDT info. At this point this is more likely to get fixed in
HEAD than on the branch.
2017-01-21 15:41:55 +00:00
skrll
50ca4843de
Pull across from nick-nhusb.
...
Some locking fixing, MPification and an attach fix
2017-01-21 12:45:22 +00:00
maxv
416bf33c7c
Add some checks, mostly same as in_arpinput.
2017-01-21 11:07:46 +00:00
skrll
fc18ade08e
Merge from nick-nhusb - some MPification
2017-01-21 10:30:15 +00:00
skrll
330b576ec5
Fix typoes
2017-01-21 09:53:29 +00:00
skrll
ef4dd38e5e
Fix a kmem_{zalloc,free} size
2017-01-21 07:39:30 +00:00
nonaka
2eda2c1a97
Remove unused iwm_softc member.
2017-01-21 05:58:49 +00:00
nonaka
15848e6f8e
PR/51797: initialize hardware completely when receiving a deauth frame from AP.
...
avoid "iwm0: fatal firmware error".
2017-01-21 05:54:06 +00:00
nonaka
34ebb69694
more block network interrupt.
2017-01-21 05:46:57 +00:00
nonaka
a4316e8721
increase command response timeout value.
2017-01-21 05:43:24 +00:00
nonaka
a91faac144
include <sys/intr.h> for softint(9).
2017-01-21 05:40:47 +00:00
rmind
82fad0d6ea
npfctl: fix shift/reduce conflicts, thanks to riastradh@.
2017-01-20 23:00:30 +00:00
maya
c7ed247615
add a wishlist for a major bump. isinff and compatibility cabs.
2017-01-20 22:10:38 +00:00
maya
1d815938de
use isinf instead of isinff. this doesn't introduce a functional change -
...
isinf works for float as well, and is more portable.
from Ngie Cooper in PR bin/51838
2017-01-20 21:15:56 +00:00
maxv
a87e9a2b62
Make sure the protocol address length equals that of IPv4. Also, make sure
...
the hardware address length equals that of the interface we received the
packet on. Otherwise a packet could easily set them both to zero and make
the kernel read beyond the allocated mbuf, which is terrible.
Note: for the latter we drop the packet instead of replying, since it is
malformed.
Note: I also added an ugly hack in CARP, since it apparently expects at
least six bytes.
2017-01-20 19:21:01 +00:00
maxv
cb01df4fa5
Style
2017-01-20 17:50:52 +00:00
maxv
0b9f08e68e
Reput a nullcheck that was mistakenly removed in rev1.204. ar_hrd is
...
packet-controlled.
2017-01-20 17:45:42 +00:00
abhinav
8dbf57f731
Fix a spelling: s/regestring/registering
2017-01-20 16:54:11 +00:00
abhinav
b461520850
Fix typo: s/suport/support
2017-01-20 16:14:44 +00:00
maya
b8f12c7fce
Check pmf_device_register return value. NFC
...
Appeases static analyzers.
2017-01-20 12:25:07 +00:00
skrll
c8226a8b4f
Fix build
2017-01-20 09:45:13 +00:00
wiz
857253ed15
Bump date for previous.
2017-01-20 08:48:14 +00:00
ozaki-r
ac86ae25b9
Protect if_clone data with if_clone_mtx
...
To this end, carpattach needs to be delayed from RUMP_COMPONENT_NET to
RUMP_COMPONENT_NET_IF on rump_server. Otherwise mutex_enter via carpattach
for if_clone_mtx is called before mutex_init for it in ifinit1.
2017-01-20 08:35:33 +00:00
skrll
fd0caf00f0
Simplify getiobuf. buf_init already does bp->b_objlock == &buffer_lock
2017-01-20 08:16:31 +00:00
kre
786e74973e
Add missing ; - hopefully unbreak build.
2017-01-20 03:16:40 +00:00
maya
51e513912f
don't memcpy overlapping buffers, use memmove.
...
this is undefined behaviour.
CID 1299069
2017-01-20 02:25:24 +00:00
maya
684d309ff5
kassert that we aren't overflowing the array.
...
this assert isn't expected to trigger due to current parameters used, but
to be sure, check.
2017-01-20 02:22:42 +00:00
maya
15149c9a42
increase max io mem on amd64. some devices need it.
2017-01-20 00:29:28 +00:00
macallan
47461d25a7
build EXA support
2017-01-19 23:51:16 +00:00
skrll
511bceb832
Fix build
2017-01-19 20:35:44 +00:00
rmind
60a0ec10c4
npfctl:
...
- Add protocol filter option for "map".
- Print user-friendly error if table contains an entry with invalid netmask.
- Add support for inline ports.
2017-01-19 20:18:17 +00:00
ginsbach
4b67ed80af
Add single and multi-mode fiber
2017-01-19 19:09:06 +00:00
skrll
9bddfd430c
Pull across xhci(4) improvemnts from nick-nhusb
2017-01-19 16:05:00 +00:00
nonaka
9b15e1338b
newstate should be blocked network interrupt, because it called iwm_start.
2017-01-19 11:24:05 +00:00
maya
ee1a6ca658
restrict psabi warning hack to gcc, it doesn't exist in clang.
...
should help i386 llvm builds
2017-01-19 11:10:38 +00:00
msaitoh
36d81a0e58
Reduce diff against FreeBSD. No functional change.
2017-01-19 09:42:08 +00:00
ozaki-r
8d757e7177
Disable rt_update mechanism by default
...
This is a workaround for PR kern/51877. Enable again once the issue
is fixed.
2017-01-19 06:58:55 +00:00
msaitoh
0550741baf
Reduce diff against FreeBSD. No functional change.
2017-01-19 06:56:33 +00:00
riastradh
1bb116aef4
Add and tweak some cryptography entries.
2017-01-19 03:39:16 +00:00
riastradh
1ec482895b
NFCI no functional change intended
...
(Not to be taken literally about this commit!)
2017-01-19 03:25:34 +00:00
maya
58dc54ad55
use a bounded copy. NFCI
2017-01-19 00:44:40 +00:00
abhinav
b11187186d
Fix couple of typos:
...
s/intractible/intractable
s/contiuously/continuously
2017-01-18 22:38:00 +00:00
abhinav
fc37131283
Fix typo: s/forwared/forwarded
...
Also remove full stop from the date.
2017-01-18 22:07:25 +00:00
macallan
a54bdd15c3
be more specific when identifying SuperSPARC CPUs
2017-01-18 21:33:25 +00:00
skrll
8e8c8cde38
Remove xhci... It exists. It works (ymmv). It can be improved, but it
...
doesn't needed an entry here.
2017-01-18 18:39:56 +00:00
dholland
03b44d3b7e
Withdraw the 36-bit port item. While there's always interest in it
...
when the idea comes up on the list, there's also a feeling that
quixotic and/or crazy projects shouldn't be on roadmaps. Which seems
reasonable.
2017-01-18 18:22:13 +00:00
riastradh
e733120912
DNFT: do not feed troll
2017-01-18 17:29:52 +00:00
kamil
a9f3841b89
Fix bug with swapped event type and register that fired in hw watchpoints
...
Swap bits for DR_EVENT_MASK and DR_REGISTER_MASK.
Sponsored by <The NetBSD Foundation>
2017-01-18 12:15:21 +00:00
msaitoh
a4e39c40a5
Now we can use multiqueue. It's default on ixg(4). Not yet for ixv(4).
2017-01-18 10:22:09 +00:00
msaitoh
2762144f22
Fix sysctl stuff. Make the top sysctl node and keep the pointer.
2017-01-18 10:18:40 +00:00