Commit Graph

228045 Commits

Author SHA1 Message Date
macallan
5cd3bfb4d1 remove last remnants of CG8 emulation 2014-06-17 10:47:27 +00:00
ozaki-r
cb4cb63151 Restructure ether_input and bridge_input
The network stack of NetBSD is well organized and
layered. A packet reception is processed from a
lower layer to an upper layer one by one. However,
ether_input and bridge_input are not structured so.
bridge_input is called inside ether_input.

The new structure replaces ifnet#if_input of a bridge
member with bridge_input when the member is attached.
So a packet goes straight on a packet reception via
a bridge, bridge_input => ether_input => ip_input.

The change is part of a patch of Lloyd Parkes submitted
in PR 48104. Unlike the patch, the change doesn't
intend to change the behavior of the packet processing.
Another patch will fix PR 48104.
2014-06-17 10:39:46 +00:00
justin
9dd44a1195 Applications are not supposed to and do not need to include <features.h> explicitly 2014-06-17 09:53:59 +00:00
skrll
20f8d0eef9 PR/48908: Cannot open /dev/uhid? when another report id at the same uhidev
was already opened.

Restore the sc reference counting lost in usbmp merge.
2014-06-17 09:35:46 +00:00
alnsn
f6181a22c5 Antti objected to including rumpuser_sync_icache. Exclude it from the build. 2014-06-17 08:42:35 +00:00
spz
0c0b9daba7 make sure we have a log message at the appropriate level (error) on
why pam is failing in the case of an included pam config file missing.

example: instead of logging with the default log settings:
Jun 17 08:49:37 tucana su: pam_start failed: system error
it will log:
Jun 17 08:55:49 tucana su: in openpam_parse_chain(): failed loading include for service gibbetnich in /etc/pam.d/su(15): No such file or directory
Jun 17 08:55:49 tucana su: pam_start failed: system error
2014-06-17 07:08:47 +00:00
alnsn
e0a3ca70e0 For consistency with other files in the same directory
don't include <sys/cdefs.h> before __RCSID.
2014-06-17 06:43:21 +00:00
alnsn
be10a58478 Add sljit support to arm. 2014-06-17 06:36:39 +00:00
alnsn
29499f54b7 Link with -l${MACHINE_CPU}. 2014-06-17 06:36:01 +00:00
alnsn
bb8c3186cb Implement rumpuser_sync_icache hypercall. 2014-06-17 06:31:47 +00:00
jakllsch
369c9ae716 wpi(4): mostly cosmetic changes to source, also a little bit of diff
reduction relative to OpenBSD as of late 2007.
2014-06-16 22:38:27 +00:00
apb
52a5651c02 Use extra="${2-/,}" to use $2 if defined, else default to "/,". 2014-06-16 22:12:30 +00:00
apb
9b3ba6dbb0 Delete trailing slash with "${1%/}", not "${1#/}". 2014-06-16 22:04:39 +00:00
alnsn
46b0c1cbc8 Add __RCSID. 2014-06-16 21:07:28 +00:00
dsl
3396d1716a Comment out the xhci entries.
The driver really doesn't work well enough to be generally useful.
2014-06-16 19:08:17 +00:00
msaitoh
b211437b51 IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.
2014-06-16 16:48:16 +00:00
christos
1913c9411a Recognize CR as end of line too. the telnet client passes that to us instead
of linefeed.
2014-06-16 16:29:30 +00:00
msaitoh
0be714dc99 No functional change:
- Fix typo.
- Remove trailing white spaces.
- Capitalize comments.
- Tabify.
- KNF.
2014-06-16 14:43:22 +00:00
joerg
13b8fa7d71 Add modfl(3). From FreeBSD. 2014-06-16 12:54:42 +00:00
christos
16bf2a1c98 Darren Reed: #550 filter rule list corrupted with inserted rules 2014-06-16 12:38:32 +00:00
christos
84b1233b4e From Darren Reed: #548 ipfstat hits a bus error on netbsd/sparc64 2014-06-16 12:37:58 +00:00
msaitoh
a93dfad09c Fix a bug that atphy doesn't set the capability of pause function correctly.
This bug was added in "mii.h" rev. 1.17.
2014-06-16 12:36:41 +00:00
joerg
f3c5663df0 Require the actual namecache_look around cache_lookup_entry.
Add one last case of missing stat locking.
2014-06-16 12:28:10 +00:00
hannken
69110c4ec6 Change cd9660 from hashlist to vcache. 2014-06-16 09:55:49 +00:00
apb
8ef5ef95a6 pigz(1): Update to pigz-2.3.1 [tls 20140615] 2014-06-16 09:12:30 +00:00
apb
cbe3db24b8 Run "postinstall fix obsolete_stand" just before checkflist,
if we are building with DESTDIR != /
2014-06-16 09:06:26 +00:00
apb
8409b23d8e Pass -m MACHINE -a MACHINE_ARCH to postinstall 2014-06-16 09:04:43 +00:00
apb
0f5a92d284 Add a new obsolete_stand target, disabled by default,
to delete old files and subdirectories under /stand/${MACHINE}.
2014-06-16 08:59:13 +00:00
apb
7fc31c82f1 Remove stray quotation mark 2014-06-16 08:39:56 +00:00
apb
080bff1a9f In do_sendmail, use unprefix to fix up paths that will be
processed by obsolete_paths.
2014-06-16 08:29:18 +00:00
apb
4478f1a2eb Clarify wording in a comment for obsolete_paths. 2014-06-16 08:28:08 +00:00
apb
dc6efbc769 Add bre_quote (copied from etcupdate), and unprefix functions. 2014-06-16 08:21:20 +00:00
apb
60cea4e204 Pass SED=${TOOL_SED:Q} to postinstall. 2014-06-16 07:11:52 +00:00
apb
d7be6cf067 Add SORT and SED variables, in case a host environment needs them. 2014-06-16 07:08:06 +00:00
ozaki-r
8743b7c5c8 Include pktqueue.h only if _KERNEL 2014-06-16 03:43:10 +00:00
christos
bdca82a2cd cleanup debugging printfs and fix port endianness printing issue. 2014-06-16 03:34:45 +00:00
ozaki-r
14f6ebbe2b Add net.interfaces.bridgeN.fwdq.{maxlen,len,drops} sysctl 2014-06-16 01:05:25 +00:00
ozaki-r
ac758954c5 Use pktqueue for bridge forwarding queue and softint 2014-06-16 01:03:57 +00:00
ozaki-r
baef3a3b4a Move sysctl_pktq_{maxlen,count} to pktqueue.c and make them global
They will be used by bridge.

ok rmind@
2014-06-16 00:40:10 +00:00
ozaki-r
e05f40117a Add 3rd argument to pktq_create to pass sc
It will be used to pass bridge sc for bridge_forward softint.

ok rmind@
2014-06-16 00:33:39 +00:00
matt
3397f5bd25 Cleanup a bit of the init logic. 2014-06-15 23:07:36 +00:00
matt
7fe521e026 Update comment. 2014-06-15 20:14:41 +00:00
wiz
c44302911e Sort options. Sort option descriptions. Add RCS Id.
New sentence, new line.
2014-06-15 19:41:04 +00:00
tls
8a7e793d06 Update pigz to 2.3.1 2014-06-15 17:53:19 +00:00
tls
3e407a68a6 pigz 2.3.1 2014-06-15 17:37:20 +00:00
ozaki-r
0ef36059a4 Get rid of unnecessary splnet for pool_{get,put}
A mutex prevents interrupts in the functions now.
2014-06-15 16:10:46 +00:00
pooka
bb567b2891 Add cat, rpcgen and stat to TOOLS_BUILDRUMP. They're useful for
installing headers for the app stack cases that need it done, and small
enough to not matter for the kernel-only cases that don't.
2014-06-15 14:36:57 +00:00
pooka
db668d0723 update comment 2014-06-15 12:58:01 +00:00
wiz
980f4832e1 Fix -f description: it is also ignored if stdin is a FIFO.
From Philip Guenther via jmc@openbsd.
Bump date.
2014-06-15 11:37:56 +00:00
wiz
a5aae24aeb Bump date for previous. 2014-06-15 07:27:22 +00:00