118594 Commits

Author SHA1 Message Date
andre
f527d7aaff MFC 1.312: In ip_forward() compute MTU always if it hasn't been done before. 2006-01-31 16:17:22 +00:00
andre
d5bfca13df MFC 1.117: In ip_mdq() compute TV_DELTA the correct way around. 2006-01-31 16:13:22 +00:00
andre
cd72f08ff6 MFC 1.93: In in_control() only remove in_ifaddr from ia_hash if it is an
AF_INET address.
2006-01-31 16:11:37 +00:00
andre
afdcfafe55 MFC 1.286 & 1.287: Check the correct TTL in both the IPv6 and IPv4 cases. 2006-01-31 16:09:34 +00:00
andre
e3fbc5aabf MFC 1.253: In in_delayed_cksum() don't perform m_pullup() because we can't
pass the new mbuf pointer to the callers.
2006-01-31 16:06:05 +00:00
andre
ecd3f47aed MFC 1.81: In syncache_expand() fix a case that currently can't be triggered. 2006-01-31 16:03:42 +00:00
andre
b80f61dff3 MFC 1.252: Prevent dereferencing NULL route pointer when trying to update
the route MTU.
2006-01-31 16:01:38 +00:00
glebius
c625a74834 MFC:
Add some initial locking to gif(4), that covers output path.
2006-01-31 15:56:47 +00:00
phk
164ce7afe5 MFC:
Updated flash library
	ramdisk sizes and last orders.
2006-01-31 15:56:33 +00:00
glebius
fbdc4a3cd4 MFC:
- In pipe() return the error returned by pipe_create(), rather then
    hardcoded ENFILES, which is incorrect. pipe_create() can fail due
    to ENOMEM.
  - Update manual page, describing ENOMEM return code.

  Reviewed by:    arch
2006-01-31 15:44:51 +00:00
glebius
8b1551dbbf MFC 1.182:
Implement 'ipfw fwd laddr,port' feature for UDP. According to ipfw(8)
  it should work, however it never did. People expect it to work.

  PR:		kern/90834
2006-01-31 15:40:15 +00:00
glebius
5ce5257942 MFC 1.27:
Simplify ng_source_send() removing temporary queue and merging two
  cycles into one.
2006-01-31 15:39:05 +00:00
glebius
606be86649 Sync ng_pppoe with HEAD, merging:
- ktr(4) instead of printfs.
- D-Link compat mode.
- style(9) cleanup.
2006-01-31 15:36:11 +00:00
oleg
bbe593a6a4 MFC 1.124:
Fix minor bug in uRPF: if net.link.ether.inet.useloopback=1 and we send
broadcast packet using our own source ip address it may be rejected by
uRPF rules.

PR:		kern/76971
2006-01-31 14:48:03 +00:00
imp
eeccc1a672 I haven't yet merged back the defines from -current for
__PCI_REROUTE_INTERRUPT, so merging it was in error.  I thought I'd
specifically checked before the commit, but it looks like I was wrong.

Thanks to Peter Pentchev (roam@) for his help in finding this...
2006-01-31 14:42:43 +00:00
pjd
894edd33c9 MFC: sbin/geom/core/geom.8 1.18
Add a reference to geli(8).
2006-01-31 12:39:26 +00:00
ssouhlal
e7d3440442 MFC r1.215:
Don't try to load KLDs if we're mounting the root. We'd otherwise panic.

  Tested by:      kris
2006-01-31 06:00:32 +00:00
pjd
3c50f6ff81 MFC: etc/rc.d/ipsec 1.14,1.15
- Use $ipsec_file instead of hardcoded /etc/ipsec.conf.
- Remove stale comment.
2006-01-31 00:28:01 +00:00
ariff
febe43b1e7 MFC: revision 1.3
Native 32bit recording is turned on, although broken on some hardware.
2006-01-31 00:10:09 +00:00
jkim
1b61c3b069 Move dev/amr/amr_linux.c to where it belongs. 2006-01-30 23:56:44 +00:00
imp
23d8d3a722 MFC: add cardbus_device.c 2006-01-30 23:25:01 +00:00
marcel
d1ed0b5303 MFC rev 1.897: Fix the missing CD_VOLUME=1 in the cdrom.inf file on
disc1 for the livecd != disc1 case.
2006-01-30 23:09:51 +00:00
pjd
b1f53a5dc4 MFC: sys/dev/md/md.c 1.161
Call NDFREE() only when vn_open() succeeded.
2006-01-30 23:03:44 +00:00
ticso
7691e4d261 MFC: 1.18 Remove spl / Restart request on USBD_IOERROR. 2006-01-30 22:47:45 +00:00
marius
4a0340a5b3 MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial),
sys/sparc64/fhc/fhc_central.c 1.10, sys/sparc64/fhc/fhc_nexus.c 1.9,
     sys/sparc64/pci/psycho.c 1.59, sys/sparc64/sbus/dma_sbus.c 1.3 - 1.4,
     sys/sparc64/sbus/sbus.c 1.37

- Register the generic implementations for the device shutdown, suspend
  and resume methods so these events propagate through the device driver
  hierarchy.
- Remove dma_setup_intr() (was commented out in RELENG_6).
2006-01-30 22:30:51 +00:00
marius
fdc4af4670 MFC: 1.5
- Only touch the LED bit of the (LED) AUXIO register when turning the
  system LED on or off. Unlike the EBus LED AUXIO register where the
  remaining bits are unused the upper bits of the SBus AUXIO register
  are used to control other things like the link test enable pin of
  the on-board NIC which we don't want to change as a side-effect.
- Remove the superfluous bzero()'ing of the softc obtained from
  device_get_softc().
2006-01-30 21:47:48 +00:00
imp
7f2e5aec50 MFC: Catchup to HEAD
o Move resource allocation into pci layer, rather than duplicating
	  it in this layer (poorly at that).
	o Provide preliminary support for dumping of CardBus card's CIS.
	o Simplify I/O memory range allocations
	o Use PCI layer symbols rather than cardbus layer symbols
	o Improve cis tuple callbacks
2006-01-30 20:04:59 +00:00
imp
04e527ee5b MFC:
1.308, 1.307, 1.306: expose pci_add_resources to the outside
	world.  Implement force in pci_add_map.  Write values of allocated
	resources to the BARs.
	1.304: Improve diagnostic messages
	1.303: Improved resource allocation.
	1.302: Use symbolic names
	1.301: Minor style(9) nitage
	1.296: Allow code to access cached values for CMDREG, CACHLNSZ, MINGNT,
	MAXLAT and LATTIMER.
2006-01-30 18:42:10 +00:00
imp
733d9e5f6a MFC: 1.16 expose pci_add_resources to the outside world (well, pci busses) 2006-01-30 18:38:08 +00:00
imp
44da073941 MFC:
1.69: Remove #ifdef alpha vestige
	1.67: Accessors for CMDREG, CACHELNSZ, MINGNT, MAXLAT and LATTIMER
2006-01-30 18:34:41 +00:00
scottl
b82de437e6 MFC: Diff reduction with HEAD. Whitespace, time_second -> time_uptime,
TAILQ initialization, PCI code refactoring.
2006-01-30 17:56:07 +00:00
glebius
1444c71db7 MFC 1.116:
Check for BGE_RXBDFLAG_IP_CSUM flag before marking mbuf as with valid
  checksum. This fixes operation of PPPoE and other non-IP Ethernet
  protocols.
MFC 1.117:
  Use m_getcl() instead of getting mbuf, and then getting a cluster.
2006-01-30 13:17:44 +00:00
sos
4a73be6cc3 MFC:
Add support for the JMicron JMB360 SATAII controller.
2006-01-30 10:32:40 +00:00
sos
1a40e9ce58 MFC:
Remove accidental debug leftovers.
2006-01-30 10:20:28 +00:00
scottl
6abd390244 MFC rev 1.31: Allow the fast taskqueue to run without Giant 2006-01-30 07:51:10 +00:00
cperciva
b6e09e9ba7 MFC rev. 1.14:
Replace "fetch" with "fetch -r" when downloading the initial ~38MB
  snapshot in order to avoid unnecessary re-downloading.

  Remove the earlier "rm -f ${SNAPSHOTHASH}.tgz" to make this work.
2006-01-30 04:18:12 +00:00
jkoshy
ec75f7b274 MFC r1.282: Note that options are set using sh(1) syntax. 2006-01-30 03:17:33 +00:00
philip
1a0293eda7 MFC:
Add [-J jid_file] option to write out a JidFile, similar to a PidFile,
  containing the jailid, path, hostname, ip and the command used to start
  the jail.

      src/usr.sbin/jail/jail.8: rev 1.71 -> 1.72
      src/usr.sbin/jail/jail.c: rev 1.20 -> 1.21

PR:		misc/89883
Submitted by:	L. Jason Godsey <lannygodsey -at- yahoo.com>
Reviewed by:	phk
2006-01-30 00:38:37 +00:00
philip
d5c81a9bd0 MFC:
Add "yet another" moused(8) hack: suspend handling mouse events when SIGUSR1
  is caught.  Can be assigned to a window manager shortcut to prevent accidents
  with touchpads.

      src/usr.sbin/moused/moused.8: rev 1.57 -> 1.58
      src/usr.sbin/moused/moused.c: rev 1.74 -> 1.75

PR:		bin/89357
Submitted by:	Nick Hibma <nick -at- van-laarhoven.org>
2006-01-30 00:32:40 +00:00
philip
d8fc4b8e8b MFC:
Catch up with 64bit time_t on sparc64.  The rstat packet expects a 32bit
  time_t and times will look incorrect on machines with 64bit time_t.

      src/usr.bin/rup/rup.c: rev 1.18 -> 1.19

PR:		88788
Submitted by:	Keith White <Keith.White -at- site.uottawa.ca>
2006-01-30 00:29:15 +00:00
thompsa
336b0354fa InstaMFC:
Back out of r1.148, it causes two arp replies to be sent with different mac
 addresses.
2006-01-29 23:22:42 +00:00
imp
72c266522a MFC: PCIR_CARDBUSCIS -> PCIR_CIS 2006-01-29 21:14:28 +00:00
imp
5b5fcbbd37 MFC 1.46-1.51: more defines for capabilities and Cardbus CIS things. 2006-01-29 21:03:46 +00:00
damien
3a8098e703 sync with HEAD. 2006-01-29 15:21:46 +00:00
damien
bfd5a95bf5 sync with HEAD. 2006-01-29 15:13:01 +00:00
damien
384ea2a095 sync ural with HEAD.
Brings automatic rate control in BSS mode and other goodies.
2006-01-29 14:16:36 +00:00
damien
f4e3675df0 sync with HEAD:
r1.27:
o Re-enable scatter/gather
o Change MEM_READ_1/MEM_READ_4 into macros (move them to if_iwireg.h)
o Add support for association LED
o Silently discard f/w notifications that are unknown (fixes spurious
  "unknown notification 15" in logs with latest firmware)
o Fix scanning of 5GHz channels

r1.23:
Fix endianness issues.  iwi now works on big endian architectures too.

r1.22
Be more robust when handling Rx interrupts.  If we can't allocate and DMA map
a new mbuf, just discard the received frame and reuse the old mbuf.
This should fix kernel panics on high network traffic.

r1.20:
o Use firmware extended scan command; this one doesn't crash when scanning
  the 5GHz band.
o Enable 802.11a channels scanning for 2915ABG adapters.
o Fix a typo (negociated->negotiated).
2006-01-29 13:54:19 +00:00
yar
b0976301af MFC the addition of an rc.d script for stand-alone ftpd:
etc/defaults/rc.conf		1.271
etc/rc.d/Makefile		1.63
etc/rc.d/ftpd			1.1 (new)
share/man/man5/rc.conf.5	1.281, 1.282

Also MFC the addition of a missing xref to geli.8 in
SEE ALSO on rc.conf.5 as a part of rev. 1.282.
2006-01-29 13:52:34 +00:00
yar
5972439952 MFC recent ftpd fixes related to handling the pidfile and unneeded
open sockets when in stand-alone daemon mode:

ftpd.c    1.207-1.209
ftpd.8    1.70-1.71
2006-01-29 13:21:05 +00:00
maxim
6b09b89696 MFC rev. 1.103: InterBase Database Remote Protocol 3050/tcp/udp. 2006-01-29 11:32:48 +00:00