Commit Graph

118424 Commits

Author SHA1 Message Date
glebius
6404be1e73 MFC 1.12:
Correct off-by-one errors.

  Found with:     Coverity Prevent(tm)
2006-01-21 10:11:01 +00:00
glebius
7a6a9a7a20 MFC 1.18:
When sending export datagram from interrupt thread, use NG_QUEUE
  in flags. When sending export datagram from expiry thread, then
  use default zero flags. This removes unpleasant contention of the
  interrupt thread on mutexes (usually ng_ksocket's socket buffer
  mutex).
2006-01-21 10:09:18 +00:00
glebius
94e8073358 MFC 1.14:
Skip format flags, when parsing ktr_desc.
2006-01-21 10:08:15 +00:00
glebius
3d78d7e213 MFC 1.58:
Do not force queueing on peer hooks. This was important only for
  5.0-CURRENT. And it looks like this didn't work before Julian's
  revamp of netgraph queue code.

  Reviewed by:    julian
2006-01-21 10:07:25 +00:00
glebius
a0d17dcfa1 MFC 1.8:
Mark appropriate commands with NGM_READONLY and NGM_HASREPLY and
  bump type cookie.

  This fixes flowctl(8) exiting without any output under high load on SMP.
2006-01-21 10:06:15 +00:00
glebius
098f73d3f4 Partial MFC of NGM_HASREPLY flag. The flag is introduced, but message
codes and netgraph cookie are not altered, to preserve ABI compatibility.
2006-01-21 10:04:40 +00:00
glebius
443e91f57b MFC 1.65:
Provide additional macros for sending netgraph items, which allow
  to use non-default flags for netgraph functions. Implement current
  macros via new ones.
2006-01-21 10:00:51 +00:00
glebius
94513f129b Sync with HEAD:
- Some whitespace and style(9) cleanup.
  - Add ktr(4) debugging.
2006-01-21 09:59:43 +00:00
cperciva
e7fa724681 MFC rev. 1.3:
Add a warning pointing out that incomplete ports trees are not
  supported and that users of REFUSE directives should update their
  entire ports tree before asking for help on the mailing lists.
2006-01-21 09:59:07 +00:00
cperciva
a9136f59b5 MFC rev 1.5:
Mention that the random time slept by "portsnap cron" is between 1 and
  3600 seconds.
2006-01-21 09:56:28 +00:00
mux
99f5ca0a6f MFC ugraphire_rdesc.h r1.3, uhid.c r1.80, usbdevs r1.245:
Add support for the Wacom Graphire 3 4x5.  Like the Graphire 3, it has a
  broken report descriptor.  While I'm here, make all the other report
  descriptors const to match the newly added one.
2006-01-20 22:55:45 +00:00
mux
7dd1aaab4e MFC uhid.c r1.79, usb.h r1.40, uxb360gp_rdesc.h r1.1:
Add support for Xbox 360 gamepads.  They are HID-capable devices, but
  lack a report descriptor and don't use the standard interface class.
  This patch works around these deficiencies so that the uhid(4) driver
  can recognize and use those broken devices.
2006-01-20 22:47:49 +00:00
mnag
2654b13145 MFC: src/sys/cam/scsi/scsi_da.c 1.184
Allow to use Time DPA20B 1GB MP3 Player [1]
Allow to use Qware BeatZkey! Pro [2]

PR:		usb/81846 [1], usb/79164 [2]
Submitted by:	Ruben de Groot <rdg@bzerk.org> [1], Radek Kozlowski <radek@raadradd.com> [2]
Approved by:	njl (implict)
2006-01-20 19:23:47 +00:00
ceri
2a7cb7f0ba MFC revision 1.133:
Preserve any additional arguments to ifconfig that were specified in
  the DHCP case too.
2006-01-20 18:46:06 +00:00
harti
7a415bda1d MFC revision 1.3 (disable default write community). 2006-01-20 16:41:11 +00:00
harti
91f83cbd36 MFC: Vendor release BEGEMOT_1_11 2006-01-20 16:36:43 +00:00
harti
2c80e8f4d2 MFC: BEGEMOT_1_11 and vendor patches:
config.c: 1.1.1.7
	main.c: 1.1.1.10, 1.1.1.11
	snmpd.config: 1.1.1.6
2006-01-20 16:34:37 +00:00
harti
03e2bbe4b2 MFC: BEGEMOT_1_11 and vendor fixes:
mibII.c: 1.1.1.9
	mibII_interfaces.c: 1.1.1.7
2006-01-20 16:27:36 +00:00
harti
b9ff096279 MFC: BEGEMOT_1_11 and vendor fixes:
asn1.h: 1.1.1.5
	asn1.c: 1.1.1.5
	snmpclient.c: 1.1.1.6
2006-01-20 16:07:04 +00:00
harti
62af0a1b59 MFC: BEGEMOT_1_11 and vendor fix from Rev 1.1.1.9 2006-01-20 15:55:57 +00:00
harti
496f8e47f5 MFC: Vendor release BEGEMOT_1_11 2006-01-20 15:51:04 +00:00
pjd
8e11cbfa32 MFC: share/man/man4/umass.4 1.41
sys/cam/scsi/scsi_da.c	1.182
	sys/dev/usb/umass.c	1.125
	sys/dev/usb/usbdevs	1.238

Allow to use TransFlash drive, which can be found in Motorola E398 Mobile Phone.

PR:		usb/89889
Submitted by:	Wojciech A. Koszek <dunstan@freebsd.czest.pl>
2006-01-20 14:52:13 +00:00
matteo
7ebcfcdd9a MFC: don't check for /dev/mdctl and let mdconfig load the module if needed
Approved by:	philip
2006-01-20 14:24:34 +00:00
ceri
2f6c15280f MFC revision 1.413:
Add ntp.cgi.cz.
2006-01-20 13:03:13 +00:00
ceri
4fd8a7fa17 MFC revisions 1.36 and 1.37:
r1.36:
	  Correct obsolete chown syntax.

	r1.37:
	  If sysinstall was used to configure an anonymous FTP area, it
	was possible for information to be copied from the group file to
	the group file in the FTP area.  This patch based on a patch
	from Zak Johnson <zakj at nox dot cx>.
2006-01-20 13:00:32 +00:00
vd
8e4dbc282c Add myself to the calendar
Approved by:	garga (mentor)
2006-01-20 12:57:58 +00:00
yongari
090d60f537 MFC rev. 1.48 to RELENG_6:
Prefer NULL to 0.
  Add missing lock/unlock in sysctl handler.
2006-01-20 07:38:01 +00:00
yongari
cb5b5410bf MFC if_hme.c:1.46 to RELENG_6:
fix Rx checksum computation on little endian systems.
2006-01-20 06:27:49 +00:00
ariff
13fdba80c5 MFC:
- Workaround for sb16 behave poorly when running at 45000 hz while
    vchan is enabled.
    Ruthless vchan speed workaround against the dreaded sb16 / sb16x.
    It appear that nothing else using this weird 45k / 49k speed upper
    limit.
  - Raise VCHAN_DEFAULT_SPEED from 44100 to 48000.

Reported by:	many sb16, AWE64 users.
2006-01-20 03:55:58 +00:00
brueffer
3317c77ac1 MFC: rev. 1.26 + 1.27
Mention the fire screensaver.
2006-01-19 22:14:20 +00:00
glebius
76d7ea24d4 Sync driver with HEAD merging all revisions from 1.96 to 1.115. The most
markable changes are:

 o Suspend/resume methods.
 o Link state detection fixes.
 o Utilization of jumbo allocator and extended RX descriptors.
 o busdma(9) cleanup and support for big-endian architectures.
 o Improved checksum offloading support.
 o Reduced number of PCI register writes in bge_start().
 o Counting RX/TX errors as input/output interface errors.
2006-01-19 13:36:26 +00:00
ariff
1aeaa0e0e4 Fix broken capabilites. There are possible calculation errors within
ess_calcspeed8() and ess_calcspeed9() that need to be fixed as well
(TODO).

Reported by:	[1] Claude Buisson <cbuisson at nerim.net>

[1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-January/003566.html
2006-01-19 01:17:00 +00:00
thompsa
a387d16385 MFC r1.148:
Include the bridge interface itself in the special arp handling.
2006-01-19 00:38:00 +00:00
thompsa
07a0a1ec64 MFC: if_bridge.c, r1.50; if_bridgevar.h, r1.10
Clear IFCAP_TXCSUM from member interfaces while bridging.
2006-01-18 20:49:21 +00:00
andre
814aba4977 MFC jumbo mbuf cluster allocation API providing 4k, 9k and 16k clusters:
struct mbuf *m_getjcl(int how, short type, int flags, int size)
 void *m_cljget(struct mbuf *m, int how, int size)

For size both take MCLBYTES, MJUM4BYTES, MJUM9BYTES, MJUM16BYTES.

Tested by:	glebius
Sponsored by:	TCP/IP Optimization Fundraise 2005
2006-01-18 13:24:24 +00:00
glebius
00dc285d46 Check ifp before dereferencing it in xl_detach(). xl_detach() can be called
from xl_attach(), when ifp is not defined yet.

Found with:	Coverity Prevent(tm)
2006-01-18 09:42:21 +00:00
simon
43c6ead8eb Add FreeBSD-SA-06:05.80211. 2006-01-18 09:20:22 +00:00
cperciva
1f4d619dab Correct a buffer overflow when scanning for 802.11 wireless networks.
Security:	FreeBSD-SA-06:05.80211
2006-01-18 09:03:15 +00:00
ariff
5c823ed0a2 MFC:
- Locking fixes. Release lock while chn_intr().
  - Mark MPSAFE since most of the locking procedures already implemented.
  - Turn on inverted external amplifier sense flag for selected boards.

Tested by:	bland
2006-01-18 01:05:34 +00:00
jkoshy
37498c0641 MFC r1.9: xref da(4) and sa(4). 2006-01-17 15:26:28 +00:00
mlaier
f6a52266ef MFC: pf_norm.c, 1.15:
Move m_adj after checking that m_dup succeeded.

    Found with:	Coverity Prevent(tm)
2006-01-17 13:05:32 +00:00
simon
ea7acf5300 - Add FreeBSD-SA-06:0[1234].
- Bump copyright year.
2006-01-17 13:00:31 +00:00
pjd
d16c8aabc8 MFC: Sync with HEAD. 2006-01-17 11:49:09 +00:00
pjd
652705ad2e MFC: sys/kern/kern_malloc.c 1.150
In realloc(9), determine size of the original block based on
UMA_SLAB_MALLOC flag.
In some circumstances (I observed it when I was doing a lot of reallocs)
UMA_SLAB_MALLOC can be set even if us_keg != NULL.

If this is the case we have wonderful, silent data corruption, because less
data is copied to the newly allocated region than should be.
2006-01-17 10:19:37 +00:00
pjd
911efbaebd MFC: sys/kern/kern_malloc.c 1.149
Detect memory leaks when memory type is being destroyed.
This is very helpful for detecting kernel modules memory leaks on unload.
2006-01-17 10:17:37 +00:00
pjd
c4be8154d5 MFC: Sync with HEAD. 2006-01-17 09:28:57 +00:00
pjd
b11d89f3f9 MFC: Sync with HEAD. 2006-01-17 09:11:30 +00:00
pjd
947bbe05ee MFC: Sync with HEAD. 2006-01-17 08:59:55 +00:00
dougb
321c75e900 MFC 1.8 - bring into conformance with rc.d standards
MFC 1.9 - Use hw.machine_arch instead of hw.machine
2006-01-17 07:12:38 +00:00
dougb
da78871c0c MFC 1.279, use NETWORKING for early_late_divider in a jail 2006-01-17 07:04:31 +00:00