]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
13 years agoMFC r210425: dtrace: correctly map sections to addresses in elf object
avg [Sat, 21 Aug 2010 19:02:49 +0000 (19:02 +0000)]
MFC r210425: dtrace: correctly map sections to addresses in elf object
modules (amd64)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211589 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210424: kgdb: correctly map sections to addresses in elf object
avg [Sat, 21 Aug 2010 18:54:13 +0000 (18:54 +0000)]
MFC r210424: kgdb: correctly map sections to addresses in elf object
modules (amd64)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211587 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210423: completely ignore zero-sized elf sections in modules of elf
avg [Sat, 21 Aug 2010 18:48:24 +0000 (18:48 +0000)]
MFC r210423: completely ignore zero-sized elf sections in modules of elf
object type (amd64)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211585 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210245: binutils/ld: fix incorrect placement of __start_SECNAME in
avg [Sat, 21 Aug 2010 18:38:56 +0000 (18:38 +0000)]
MFC r210245: binutils/ld: fix incorrect placement of __start_SECNAME in
some cases

git-svn-id: svn://svn.freebsd.org/base/stable/8@211583 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210427: zfs arc_memory_throttle: available memory is free + cache
avg [Sat, 21 Aug 2010 18:20:56 +0000 (18:20 +0000)]
MFC r210427: zfs arc_memory_throttle: available memory is free + cache

git-svn-id: svn://svn.freebsd.org/base/stable/8@211581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210422: cpufreq: allocate long-lived buffer for handling of sysctl
avg [Sat, 21 Aug 2010 17:48:29 +0000 (17:48 +0000)]
MFC r210422: cpufreq: allocate long-lived buffer for handling of sysctl
requests

git-svn-id: svn://svn.freebsd.org/base/stable/8@211578 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210454: ichwd: correct range check for timeout value
avg [Sat, 21 Aug 2010 16:40:04 +0000 (16:40 +0000)]
MFC r210454: ichwd: correct range check for timeout value

git-svn-id: svn://svn.freebsd.org/base/stable/8@211574 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211317:
andre [Sat, 21 Aug 2010 11:10:58 +0000 (11:10 +0000)]
MFC r211317:

  Reset the internal tso flag in tcp_output() on every iteration
  of sendalot.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211548 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211316:
andre [Sat, 21 Aug 2010 11:01:40 +0000 (11:01 +0000)]
MFC r211316:

  Change the messages of the ICMP bad port bandwidth limiter from
  a kernel printf to a log output with the priority of LOG_NOTICE.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211542 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211315:
andre [Sat, 21 Aug 2010 10:38:50 +0000 (10:38 +0000)]
MFC r211315:

  Disable TCP inflight limiter by default.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211538 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210679:
kib [Sat, 21 Aug 2010 08:49:53 +0000 (08:49 +0000)]
MFC r210679:
Report the time left for the sleep on SIGINFO.
Be stricter in the checking of interval specification.

MFC r210696:
Deal with proper format for printing time_t.

MFC r210749:
Simplify argument parser by using sscanf(); simplify usage() by not
refusing to use stdio.
Reduce nesting level in the sleep loop by returning earlier for negative
timeouts.
Limit the maximum timeout to INT_MAX seconds.

MFC r210750:
Document the new argument parser for sleep(1) and SIGINFO behaviour.
Remove higlight for the unportability notice.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211536 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211115:
bz [Fri, 20 Aug 2010 15:26:09 +0000 (15:26 +0000)]
MFC r211115:

  MFp4 CH180235:

  Add proto spacers to inet6sw like we have for legacy IP. This allows us
  to dynamically pf_proto_register() for INET6 from modules, needed by
  upcoming CARP changes and SeND.
  MC and SCTP could make use of it as well in theory in the future after
  upcoming VIMAGE vnet teardown work.

  Discussed with: will, anchie

git-svn-id: svn://svn.freebsd.org/base/stable/8@211527 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208951:
jh [Thu, 19 Aug 2010 15:33:43 +0000 (15:33 +0000)]
MFC r208951:

Add a new function devfs_parent_dirent() for resolving devfs parent
directory entry. Use the new function in devfs_fqpn(), devfs_lookupx()
and devfs_vptocnp() instead of manually resolving the parent entry.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211507 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agosort of MFC: r211495 was supposed to add this script from HEAD, and while
netchild [Thu, 19 Aug 2010 13:24:13 +0000 (13:24 +0000)]
sort of MFC: r211495 was supposed to add this script from HEAD, and while
the merge seems to have been successful, the script does not show up
in releng-8. This is a "svn copy head/.../800.zfs-scrub ." as retrying
the svn merge does not result in the file showing up. This may not be
the best way to fix the problem in svn, but it is the only way I'm aware of
to fix the stable branch (which is IMO more important than to use a potential
best way I'm not aware of).

Relevant commit log for this file (r209195):
  Add a periodic zfs scrub script.

  Features:
   - configurable amount of days between scrubs (default value or per pool)
   - do not scrub directly after pool creation (respects the configured
     number of days between scrubs)
   - do not scrub if a scrub is in progress
   - tells how to see the status of the scrub
   - tells how many days since the last scrub if it skips the scrubbing
   - warns if a non-existent pool is specified explicitely
     (default: no pools specified -> all currently imported pools are
     handled)
   - runs late in the periodic run to not slow down the other periodic daily
     scripts

git-svn-id: svn://svn.freebsd.org/base/stable/8@211506 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC
netchild [Thu, 19 Aug 2010 09:00:17 +0000 (09:00 +0000)]
MFC

r209195:
  Add a periodic zfs scrub script.

  Features:
   - configurable amount of days between scrubs (default value or per pool)
   - do not scrub directly after pool creation (respects the configured
     number of days between scrubs)
   - do not scrub if a scrub is in progress
   - tells how to see the status of the scrub
   - tells how many days since the last scrub if it skips the scrubbing
   - warns if a non-existent pool is specified explicitely
     (default: no pools specified -> all currently imported pools are
     handled)
   - runs late in the periodic run to not slow down the other periodic daily
     scripts

r209250:
  - connect the zfs scrub script
  - move the zfs status script into the MK_ZFS conditional to respect
    WITHOUT_ZFS

r209253:
  Add the ZFS periodic daily scripts to the ZFS part. (make delete-old)

Requested by: "J. Hellenthal" <jhell@DataIX.net>
PR: 149271

git-svn-id: svn://svn.freebsd.org/base/stable/8@211495 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210631:
kib [Thu, 19 Aug 2010 08:50:11 +0000 (08:50 +0000)]
MFC r210631:
Add compat32 shims for opencrypto(4).

git-svn-id: svn://svn.freebsd.org/base/stable/8@211494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r210571 from head:
gavin [Wed, 18 Aug 2010 21:44:50 +0000 (21:44 +0000)]
Merge r210571 from head:
  Add support for the Corega CG-USBRS232R to uplcom(4)

PR: usb/129173
Submitted by: SHIMAOKA Shunsuke <shimaoka.shunsuke gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211472 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r210556 from head:
gavin [Wed, 18 Aug 2010 21:39:42 +0000 (21:39 +0000)]
Merge r210556 from head:
  Support the Pyramid KBS USB LCD under uftdi(4)

PR: usb/129758
Submitted by: joao lima <jlima visionware.pt>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211471 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r210524 from head:
gavin [Wed, 18 Aug 2010 21:17:57 +0000 (21:17 +0000)]
Merge r210524 from head:

  - Support two devices made by West Mountain Radio in uslcom(4) [1]

  - Remove duplicate SILABS CP2102 define from usbdevs

Merge r211022 from head:

  Sync the list of devices supported by uslcom(4) with NetBSD, Linux, OpenBSD
  and BeOS.  The devices supported by uslcom(4) are now in sync with:

  NetBSD  src/sys/dev/usb/uslsa.c 1.11
  OpenBSD src/sys/dev/usb/uslcom.c 1.20
  Linux   source/drivers/usb/serial/cp210x.c from kernel 2.6.35
  BeOS    usb_serial/driver.c 1.32

  Two vendor/product IDs from Linux have not been added to uslcom(4):
    SILABS SAEL - This device has special code in u3g to support it
    SILABS GSM2228 - I suspect this should also be covered by u3g(4).

PR: usb/131912 [1]
Submitted by: Jack Twilley <mathuin gmail.com> [1]

git-svn-id: svn://svn.freebsd.org/base/stable/8@211470 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r211077, r211079 from head:
gavin [Wed, 18 Aug 2010 20:38:47 +0000 (20:38 +0000)]
Merge r211077, r211079 from head:

  Correct two error messages to match the failure they are reporting.

  Correct the login.conf variable name used for obtaining the login prompt.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211468 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge 210839 from head:
gavin [Wed, 18 Aug 2010 20:23:55 +0000 (20:23 +0000)]
Merge 210839 from head:

  Do not free sc if attach failed, as it was allocated by the bus
  infrastructure, not us.  This appears to be a leftover from an older
  version of the driver.

Submitted by: avg
Tested by: Anton Shterenlikht <mexas bristol.ac.uk>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211466 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208818:
mav [Wed, 18 Aug 2010 15:58:26 +0000 (15:58 +0000)]
MFC r208818:
Plug memory leak to silent Coverity. Error is still not really handled.

Found with:   Coverity Prevent(tm)
CID:          4137

git-svn-id: svn://svn.freebsd.org/base/stable/8@211461 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208817:
mav [Wed, 18 Aug 2010 15:56:09 +0000 (15:56 +0000)]
MFC r208817:
Plug memory leak to silent Coverity. Error is still not really handled.

Found with:   Coverity Prevent(tm)
CID:          4196

git-svn-id: svn://svn.freebsd.org/base/stable/8@211460 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208816:
mav [Wed, 18 Aug 2010 15:55:20 +0000 (15:55 +0000)]
MFC r208816:
Fix attach errors handling.

Found with:   Coverity Prevent(tm)
CID:          3477

git-svn-id: svn://svn.freebsd.org/base/stable/8@211459 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208907:
mav [Wed, 18 Aug 2010 15:52:38 +0000 (15:52 +0000)]
MFC r208907:
Disable NCQ and PMP support for VIA VT8251 AHCI. It was reported to be
unreliable under load. Linux does the same.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211458 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208814:
mav [Wed, 18 Aug 2010 15:51:32 +0000 (15:51 +0000)]
MFC r208814:
Plug memory leak to silent Coverity. Error is still not really handled.

Found with:   Coverity Prevent(tm)
CID:          4130

git-svn-id: svn://svn.freebsd.org/base/stable/8@211457 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208813:
mav [Wed, 18 Aug 2010 15:49:44 +0000 (15:49 +0000)]
MFC r208813:
Fix attach errors handling.

Found with:   Coverity Prevent(tm)
CID:          3424

git-svn-id: svn://svn.freebsd.org/base/stable/8@211456 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r203920,210755,210809,210827:
uqs [Tue, 17 Aug 2010 16:25:44 +0000 (16:25 +0000)]
MFC r203920,210755,210809,210827:

- WARNS?=6 cleanup
- fix timekeeping for user-supplied value n
- de-obfuscate the timekeeping of now/delay

git-svn-id: svn://svn.freebsd.org/base/stable/8@211431 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r200633:
jh [Tue, 17 Aug 2010 15:07:23 +0000 (15:07 +0000)]
MFC r200633:

Sync getline() with comm(1):

 - Prevent overflowing of the buffer length variable in getline() by
   limiting its maximum value.
 - Exit if reallocf(3) fails in getline(). Failure was silently
   considered as end-of-file.

MFC r204803 by ache:

1) Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary equal" check instead.

POSIX says: "The input file shall be a text file", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.

2) Speedup input processing a bit in complex cases like skipping fields,
chars or ignore case.

3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file"
and POSIX uniq(1) description).

MFC r204811 by ache:

Remove vestiges of old %-format which prevents build on amd64

MFC r204876 by ache:

1) Reimplement (differently) unlimited line length restricted in prev.
commit.

2) Honor missing the very last \n (if absent) on output.

MFC r204927 by ache:

Add SIZE_MAX overflow check

git-svn-id: svn://svn.freebsd.org/base/stable/8@211429 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r200442:
jh [Tue, 17 Aug 2010 15:02:33 +0000 (15:02 +0000)]
MFC r200442:

Don't read the newline character to line buffer because lines are passed
to wcscoll(3). Newline characters could cause incorrect results when
comparing lines.

Also, if an input line didn't contain a newline character, it was
omitted from the output. According to my interpretation, SUSv3 requires
that the newline is always printed.

Add regression tests for the cases.

PR: bin/140976

MFC r200604:

- Prevent overflowing of the buffer length variable in getline() by
  limiting its maximum value.
- Exit if reallocf(3) fails in getline(). Failure was silently
  considered as end-of-file.

MFC r204896 by ache:

Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary comparison" instead.

POSIX says: "The input files shall be text files", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.

MFC r204928 by ache:

Add SIZE_MAX overflow check

git-svn-id: svn://svn.freebsd.org/base/stable/8@211428 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC of 211422, tzdata2010l
edwin [Tue, 17 Aug 2010 12:16:06 +0000 (12:16 +0000)]
MFC of 211422, tzdata2010l

- Fix start times of DST for Egypt.
- clocks were set back one hour at 2010-08-11 00:00:00 local time
  in Gaza and the West Bank.

Obtained from:  ftp://elsie.nci.nih.gov/pub/

git-svn-id: svn://svn.freebsd.org/base/stable/8@211423 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211301:
bz [Tue, 17 Aug 2010 07:58:10 +0000 (07:58 +0000)]
MFC r211301:

  In rip6_input(), in case of multicast, we might skip the normal processing
  and go to the next iteration early if multicast filtering would decide that
  this socket shall not receive the data.
  Unlock the pcb in that case or we leak the read lock and next time trying
  to get a write lock, would hang forever.

PR: kern/149608
Submitted by: Chris Luke (chrisy flirble.org)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211411 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoHoist mergeinfo for sys/dev/e1000 back up to sys/.
jhb [Mon, 16 Aug 2010 20:22:06 +0000 (20:22 +0000)]
Hoist mergeinfo for sys/dev/e1000 back up to sys/.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210747:
ae [Mon, 16 Aug 2010 08:51:35 +0000 (08:51 +0000)]
MFC r210747:
  Forward ioctl requests to original geom.

  PR: 148540
Approved by: kib (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211391 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210746:
ae [Mon, 16 Aug 2010 08:48:39 +0000 (08:48 +0000)]
MFC r210746:
  Release access for consumers that are opened, but will be destroyed
  indirectly by orphan method.

  PR: 148688

MFC r210792:
  Check that table is not NULL before access, it can be NULL
  for some cases.

Approved by: kib (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210271:
yongari [Sun, 15 Aug 2010 23:56:57 +0000 (23:56 +0000)]
MFC r210271:
  Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4)
  controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211387 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210263,210267,210269-210270:
yongari [Sun, 15 Aug 2010 23:47:04 +0000 (23:47 +0000)]
MFC r210263,210267,210269-210270:
r210263:
  Do not report current link state if interface is not UP.

r210267:
  Add KASSERT to check number of returned DMA segments.

r210269:
  Use bus_get_dma_tag() to get parent tag. Also use
  BUS_SPACE_MAXSIZE_32BIT to specify sum of all segment lengths.
  Previously it used MAXBSIZE which was wrong.

r210270:
  Specify BUS_DMA_ZERO flag to bus_dmamem_alloc(9) and remove bzero()
  calls. Also add BUS_DMA_COHERENT flag to bus_dmamem_alloc(9) to
  take advantage of efficient synchronization for architectures that
  support that feature.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211385 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210257,210259-210261:
yongari [Sun, 15 Aug 2010 23:38:49 +0000 (23:38 +0000)]
MFC r210257,210259-210261:
r210257:
  When we didn't find a matching flash device, do not touch flash
  config data. While I'm here, use return code of bce_init_nvram()
  to set error instead of directly setting ENODEV.

r210259:
  Have bce_init_ctx() return error code and make caller check the
  return code. If context was not setup correctly give up
  initialization. While I'm here move variable declarations to the
  beginning of the function.

r210260:
  Don't change current media in bce_stop(). There is no need to do
  this here.

r210261:
  Correctly check the result of media selection. Previously it always
  returned success.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211383 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r207411:
yongari [Sun, 15 Aug 2010 23:30:53 +0000 (23:30 +0000)]
MFC r207411:
  - Enable flow control.
  - Print device details only when verbose boot is enabled.
  - Add debug output for shared memory access.
  - Add debug statistics (checksum offload & VLAN frame counters).
  - Modify TX path to update consumer index for each frame completed
    rather than updating the consumer index only once for a group of
    frames to improve small packet performance.
  - Print driver/firmware pulse messages only when verbose boot
    is enabled.
  - Add debug sysctl to clear statistics.
  - Fix more style(9) violations.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211381 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r207391:
yongari [Sun, 15 Aug 2010 23:26:46 +0000 (23:26 +0000)]
MFC r207391:
  - Pass flow control settings back to bce(4).

git-svn-id: svn://svn.freebsd.org/base/stable/8@211379 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210244:
yongari [Sun, 15 Aug 2010 23:11:38 +0000 (23:11 +0000)]
MFC r210244:
  Implement WOL. WOL is supported on RTL8139B or newer controllers.

  PR: kern/148013

git-svn-id: svn://svn.freebsd.org/base/stable/8@211377 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r205651:
yongari [Sun, 15 Aug 2010 23:02:41 +0000 (23:02 +0000)]
MFC r205651:
  Use pci_get_max_read_req() and pci_set_max_read_req() to set maximim
  read request size.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211375 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210083,210152:
yongari [Sun, 15 Aug 2010 22:57:50 +0000 (22:57 +0000)]
MFC r210083,210152:
r210083:
  Remove enabling Data FIFO protection with indirect memory access.
  r165114 added that code and that change ignored the same logic
  committed in r135772. In addition, data FIFO protection should be
  selectively enabled instead of applying to all PCIe devices.
  While I'm here add BCM5785 to devices that do not require this
  fix.

r210152:
  Use Miscellaneous Configuration Register bit definition instead of
  magic number.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211373 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210011,210013-210015:
yongari [Sun, 15 Aug 2010 22:51:52 +0000 (22:51 +0000)]
MFC r210011,210013-210015:
r210011:
  Make bge_stop_fw() static.
  While I'm here use ANSI function definitions.

r210013:
  style.

r210014:
  Fix error message for jumbo buffer allocation failure.

r210015:
  Prefer PCIR_BAR macro over BGE_PCI_BAR0.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211371 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209741:
yongari [Sun, 15 Aug 2010 22:44:28 +0000 (22:44 +0000)]
MFC r209741:
  Zero entire status block and add missing bus_dmamap_sync(9).

git-svn-id: svn://svn.freebsd.org/base/stable/8@211369 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209714:
yongari [Sun, 15 Aug 2010 22:40:47 +0000 (22:40 +0000)]
MFC r209714:
  It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO
  configuration to get IPv4 TSO work on BCM57780. While I'm here
  apply the same fix to BCM5785 which shares similar hardware feature
  of BCM57780. This change makes TSO work on BCM57780.

  Tested by: Tong Liu <nemoliu <> gmail dot com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211367 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208917:
yongari [Sun, 15 Aug 2010 22:36:12 +0000 (22:36 +0000)]
MFC r208917:
  Remove unused macros.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211365 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209818:
yongari [Sun, 15 Aug 2010 21:56:45 +0000 (21:56 +0000)]
MFC r209818:
  Remove enabling RX checksum offloading in RX filter setup. RX
  checksum is enabled in sge_init_locked().
  While I'm here do not set RX checksum bits in RX descriptor
  initialization. It is controller's job to set these bits.

  Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >

git-svn-id: svn://svn.freebsd.org/base/stable/8@211361 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209865:
yongari [Sun, 15 Aug 2010 21:51:10 +0000 (21:51 +0000)]
MFC r209865:
  Some revision of Yukon controller generates corrupted frame when TX
  checksum offloading is enabled.  The frame has a valid checksum
  value so payload might be modified during TX checksum calculation.
  Disable TX checksum offloading but give users chance to enable it
  when they know their controller works without problems with TX
  checksum offloading.

  Reported by: Andrzej Tobola <ato <> iem dot pw dot edu dot pl>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211359 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211089:
yongari [Sun, 15 Aug 2010 21:43:51 +0000 (21:43 +0000)]
MFC r211089:
  It seems some old Sundace(now IC Plus Corp.) controllers do not
  like memory mapped register access. Typical problem from the issue
  was MII access returned unreliable values. I'm not sure this comes
  from lack of register flushing in MII access after accessing
  STE_PHYCTL register though.
  To address the issue, read hints data that controls which type of
  memory mapping should be used in driver. ste(4) still prefers
  memory mapping to io mapping but honor hints entered by user except
  for controllers that have problems with memory mapping.
  The hint to use iomapping could be given by adding the following
  line to /boot/device.hints file.

  hint.ste.0.prefer_iomap="1"

  PR: kern/149285

git-svn-id: svn://svn.freebsd.org/base/stable/8@211357 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoAdd lame COMPAT_IA32 lines to all the options.* files until I fix config.
imp [Sun, 15 Aug 2010 08:38:48 +0000 (08:38 +0000)]
Add lame COMPAT_IA32 lines to all the options.* files until I fix config.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211324 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoNeed to add COMPAT_IA32 to options.i386 too
imp [Sun, 15 Aug 2010 08:32:09 +0000 (08:32 +0000)]
Need to add COMPAT_IA32 to options.i386 too

git-svn-id: svn://svn.freebsd.org/base/stable/8@211323 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210666:
andre [Sat, 14 Aug 2010 19:36:48 +0000 (19:36 +0000)]
MFC r210666:

  Fix a bug in syncache where the initial CWND for new incoming connections
  was limited to one segment under the faulty assumption of a retransmit.
  Due to this the opportunity to initialize the increased congestion window
  according to RFC3390 was missed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211312 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMap COMPAT_IA32 to COMPAT_FREEBSD32
imp [Sat, 14 Aug 2010 18:40:05 +0000 (18:40 +0000)]
Map COMPAT_IA32 to COMPAT_FREEBSD32

git-svn-id: svn://svn.freebsd.org/base/stable/8@211310 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211006:
kib [Sat, 14 Aug 2010 14:13:58 +0000 (14:13 +0000)]
MFC r211006:
Prefer struct sysentvec sv_psstrings to hardcoding FREEBSD32_PS_STRINGS
in the compat32 code. Use sv_usrstack instead of FREEBSD32_USRSTACK as well.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211302 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211005:
kib [Sat, 14 Aug 2010 14:09:13 +0000 (14:09 +0000)]
MFC r211005:
Add compat32 definition for (old) struct ostat.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211300 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210686:
bz [Sat, 14 Aug 2010 13:44:24 +0000 (13:44 +0000)]
MFC r210686:

  MFp4 @181628:

  Free the rtentry after we diconnected it from the FIB and are counting
  it as rttrash.  There might still be a chance we leak it from a different
  code path but there is nothing we can do about this here.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211296 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211001:
yar [Sat, 14 Aug 2010 00:50:26 +0000 (00:50 +0000)]
MFC r211001:
 Move the sentences telling the defaults for -c and -w
 to where they belong.  Previously they were misplaced,
 i.e., swapped.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211294 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210931:
kib [Fri, 13 Aug 2010 11:24:02 +0000 (11:24 +0000)]
MFC r210931:
Disable sync cache for the Transcend Jetflash V90.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC of e1000 changes
jfv [Thu, 12 Aug 2010 20:18:06 +0000 (20:18 +0000)]
MFC of e1000 changes

Many bug fixes, major new feature: the igb vf driver.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211241 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211091:
mm [Thu, 12 Aug 2010 05:59:55 +0000 (05:59 +0000)]
MFC r211091:

Return EIO if vdev->v_phys_read is NULL.

This fixes booting from a ZFS mirror with a unavailable primary device.

PR: kern/148655
Reviewed by: avg
Approved by: delphij (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211205 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210848:
kib [Wed, 11 Aug 2010 09:04:36 +0000 (09:04 +0000)]
MFC r210848:
Copy inode birthtime to the struct stat32.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211174 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210847:
kib [Wed, 11 Aug 2010 08:58:27 +0000 (08:58 +0000)]
MFC r210847:
Fix style.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211173 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210947:
bschmidt [Wed, 11 Aug 2010 07:11:20 +0000 (07:11 +0000)]
MFC r210947:
Fix whitespace nits.

PR: conf/148989
Submitted by: pluknet <pluknet at gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210959:
bschmidt [Wed, 11 Aug 2010 07:02:08 +0000 (07:02 +0000)]
MFC r210959:
Obviously the option is known as COMPAT_LINUX32 on amd64.

PR: docs/149182
Pointed out by: Fernando <fernando.apesteguia at gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211169 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r211063:
bschmidt [Wed, 11 Aug 2010 06:29:40 +0000 (06:29 +0000)]
MFC r211063:
License ACK is not required for the wpifw module nor when building
it into the kernel.

PR: conf/148758
Submitted by: Joe Talbott <josepht at dragonflybsd.org

git-svn-id: svn://svn.freebsd.org/base/stable/8@211165 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC: r210786
rmacklem [Wed, 11 Aug 2010 03:08:03 +0000 (03:08 +0000)]
MFC: r210786
Modify the return value for nfscl_mustflush() from boolean_t,
which I mistakenly thought was correct w.r.t. style(9), back
to int and add the checks for != 0. This is just a stylistic
modification.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211160 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210255:
gabor [Tue, 10 Aug 2010 19:50:51 +0000 (19:50 +0000)]
MFC r210255:
  - Add Latinamerican keymaps to sysinstall's Makefile so that it can
    find them [1]
  - While here, also add a missing Spanish entry

PR: bin/67365 [1]
Submitted by: Pedro F. Giffuni <giffunip@asme.org> [1]
Approved by: delphij (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211154 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210795:
ae [Tue, 10 Aug 2010 11:02:55 +0000 (11:02 +0000)]
MFC r210795:

  Check that gsp is not NULL before access. It can be NULL
  for some cases.

Approved by: kib (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211140 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210805:
kib [Tue, 10 Aug 2010 10:17:01 +0000 (10:17 +0000)]
MFC r210805:
Properly set ifi_datalen for compat32 struct if_data32.

PR: kern/149240

git-svn-id: svn://svn.freebsd.org/base/stable/8@211139 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210796:
kib [Tue, 10 Aug 2010 10:15:34 +0000 (10:15 +0000)]
MFC r210796:
When compat32 recvmsg(2) does not need to copy out control messages, set
msg_controllen to 0.

PR: kern/149227

git-svn-id: svn://svn.freebsd.org/base/stable/8@211138 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210797:
fabient [Mon, 9 Aug 2010 14:32:45 +0000 (14:32 +0000)]
MFC r210797:

- Do not use the runtime mask when logfile is specified.
- Revert the fix on rtld path that is not necessary.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211100 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210794:
fabient [Mon, 9 Aug 2010 14:29:23 +0000 (14:29 +0000)]
MFC r210794:
Allow file as a top source, it works with socket now.
This will allow top monitoring using socket/ssh tunnelling
of system without local symbols.

client:
pmcstat -R <ip>:<port> -T -r <symbolspath>
monitored device:
pmcstat -Sinstructions -O <ip>:<port>

- Move the file read in the event loop
- Initialize and clean log in all cases
- Preserve global stats value during top refresh
- Fix the rtld/line resolver that ignore '-r' prefix
- Support socket for '-R' (server mode)
- Display the statistics when exiting top mode

git-svn-id: svn://svn.freebsd.org/base/stable/8@211098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210766:
fabient [Mon, 9 Aug 2010 14:25:58 +0000 (14:25 +0000)]
MFC r210766:
Fix the calltree top view that incorrectly filter out some nodes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211096 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210930: Typo fixes
uqs [Mon, 9 Aug 2010 07:58:32 +0000 (07:58 +0000)]
MFC r210930: Typo fixes

PR: docs/149314
Submitted by: olgeni

------------------------------------------------------------------------

git-svn-id: svn://svn.freebsd.org/base/stable/8@211092 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210861: /etc/rc.d/ip6fw was deprecated.
ume [Sun, 8 Aug 2010 15:29:27 +0000 (15:29 +0000)]
MFC r210861: /etc/rc.d/ip6fw was deprecated.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211074 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210734: Allow starting ipmon if ipnat is enabled but ipfilter is not
jilles [Sun, 8 Aug 2010 13:43:20 +0000 (13:43 +0000)]
MFC r210734: Allow starting ipmon if ipnat is enabled but ipfilter is not
(in /etc/rc.conf).

This fixes an apparent confusion between test(1) and sh(1) syntax for
AND/OR.

PR: conf/149036
Submitted by: pluknet

git-svn-id: svn://svn.freebsd.org/base/stable/8@211069 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208717:
jh [Sun, 8 Aug 2010 12:19:49 +0000 (12:19 +0000)]
MFC r208717:

Don't try to call cdevsw d_close() method when devfs_close() is called
because of insmntque1() failure.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211067 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r207878:
jh [Sun, 8 Aug 2010 09:12:30 +0000 (09:12 +0000)]
MFC r207878:

- Don't return EAGAIN from gv_unload(). It was used to work around the
  deadlock fixed in r207671.
- Wait for worker process to exit at class unload. The worker process
  was not guaranteed to exit before the linker unloaded the module.
- Use 0 as the worker process exit status instead of ENXIO and style
  the NOTREACHED comment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211065 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r207877:
jh [Sun, 8 Aug 2010 09:06:59 +0000 (09:06 +0000)]
MFC r207877:

In g_zero_destroy_geom(), return 0 instead of EBUSY in the success case.
EBUSY was probably used as a workaround for the deadlock fixed in r207671.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211064 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r208612: Fixes from NetBSD for nvi visual mode
jh [Sun, 8 Aug 2010 07:34:37 +0000 (07:34 +0000)]
MFC r208612: Fixes from NetBSD for nvi visual mode

PR: bin/21089, bin/136393

git-svn-id: svn://svn.freebsd.org/base/stable/8@211060 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r210534 from head:
gavin [Sat, 7 Aug 2010 19:08:39 +0000 (19:08 +0000)]
Merge r210534 from head:

  Add support for the Longcheer WM66 USB HSDPA Modem to u3g(4)

PR: usb/129945
Submitted by: Antonio Hilario <avahilario gmail.com>
Committed from: Bugathon #7

git-svn-id: svn://svn.freebsd.org/base/stable/8@211033 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMerge r210575 from head:
gavin [Sat, 7 Aug 2010 19:01:59 +0000 (19:01 +0000)]
Merge r210575 from head:

  Provide descriptions for three vendors and four devices in usbdevs.  Use
  the official vendor listed for 0x076b, rather than Omnikey, as in the PR.

PR: usb/123351
Submitted by: Marcin Cieslak <saper SYSTEM.PL>

git-svn-id: svn://svn.freebsd.org/base/stable/8@211032 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210175:
brucec [Sat, 7 Aug 2010 13:42:54 +0000 (13:42 +0000)]
MFC r210175:

FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring
and installing via such devices from sysinstall.

Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209748:
brucec [Sat, 7 Aug 2010 13:39:59 +0000 (13:39 +0000)]
MFC r209748:

Simplify the wording of the console configuration dialogs since we now
only have a single video console driver.

Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211019 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209709:
brucec [Sat, 7 Aug 2010 13:36:55 +0000 (13:36 +0000)]
MFC r209709:

Increment 'sa' at the end of the loop; otherwise, only the first
address ever gets checked.

Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211018 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209684:
brucec [Sat, 7 Aug 2010 13:34:52 +0000 (13:34 +0000)]
MFC r209684:

Use ISO C99 integer types instead of the BSD-specific u_int*_t.

Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209466:
brucec [Sat, 7 Aug 2010 13:25:46 +0000 (13:25 +0000)]
MFC r209466:

Add some more modules to loader.conf. Remove if_awi since support for it
was removed 2 years ago.

PR: conf/147126
PR: conf/116071
Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209469:
brucec [Sat, 7 Aug 2010 12:58:01 +0000 (12:58 +0000)]
MFC r209469:

If a device can't be opened, don't keep going but display the error
returned from open() and quit.

PR: bin/81035
Submitted by: Peter Schuller <peter.schuller at infidyne.com>
Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211013 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209468:
brucec [Sat, 7 Aug 2010 12:51:44 +0000 (12:51 +0000)]
MFC r209468:

Make it easier to cancel a failing installation by only attempting to
extract distributions once. If a distribution fails to fetch/extract
and the user doesn't want to retry, abort the installation.

Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211011 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209467:
brucec [Sat, 7 Aug 2010 12:41:12 +0000 (12:41 +0000)]
MFC r209467:

When installing on a machine which doesn't have a VGA card installed, enable
a getty on the serial port so that it's possible to login when the system is
rebooted.

PR: bin/23098
Submitted by: Doug Ambrisko <ambrisko at whistle.com>
Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211009 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209764:
brucec [Sat, 7 Aug 2010 12:18:36 +0000 (12:18 +0000)]
MFC r209764:

Increase the default and minimum partition sizes.
Bump / to 1GB, /var to 4GB and /tmp to 1GB.

A 512MB root partition is now too small to hold two kernels, so to
prevent installkernel failing 1GB is a better default. Likewise,
applications are storing more data in /var so 4GB is more reasonable
on a modern machine.

The previous minimum partition sizes were too small to hold a minimal
installation, and have been adjusted accordingly.

Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211007 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209235, r210381 (bug fix for r209235):
brucec [Sat, 7 Aug 2010 10:51:01 +0000 (10:51 +0000)]
MFC r209235, r210381 (bug fix for r209235):

* Allow partial MB/GB values to be entered in the slice and label editors.
* Don't strdup the name when calling deviceRegister because the string is
copied within new_device.
* Use a subtype of 165, not 3, when creating a slice in noninteractive
mode.

PR: bin/135333
PR: bin/66350
Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@211000 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC: r210455, r210456
rmacklem [Sat, 7 Aug 2010 01:05:02 +0000 (01:05 +0000)]
MFC: r210455, r210456
Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate
module that can be used by both the regular and experimental nfs
clients. This fixes the problem reported by jh@ where /dev/nfslock
would be registered twice when both nfs clients were used.
I also defined the size of the lm_fh field to be the correct value,
as it should be the maximum size of an NFSv3 file handle.
Also fix the include path for nfs_lock.h for usr.sbin/rpc.lockd/kern.c.

git-svn-id: svn://svn.freebsd.org/base/stable/8@210985 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210783. Fix typo
emax [Fri, 6 Aug 2010 20:18:27 +0000 (20:18 +0000)]
MFC r210783. Fix typo

PR: kern/140590

git-svn-id: svn://svn.freebsd.org/base/stable/8@210960 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r209058:
brucec [Fri, 6 Aug 2010 18:55:49 +0000 (18:55 +0000)]
MFC r209058:

sctp_recvmsg returns the number of bytes received, not sent.

Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@210948 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210350:
bz [Fri, 6 Aug 2010 11:58:27 +0000 (11:58 +0000)]
MFC r210350:

  Since r186119 IP6 input counters for octets and packets were not
  working anymore.  In addition more checks and operations were missing.

  In case lla_lookup results in a match, get the ifaddr to update the
  statistics counters, and check that the address is neither tentative,
  duplicate or otherwise invalid before accepting the packet.  If ok,
  record the address information in the mbuf.  [ as is done in case
  lla_lookup does not return a result and we go through the FIB ].

  Reported by:  remko
  Tested by:    remko

git-svn-id: svn://svn.freebsd.org/base/stable/8@210929 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210703:
bz [Fri, 6 Aug 2010 11:49:52 +0000 (11:49 +0000)]
MFC r210703:

  Document the mandatory argument to the arptimer() and
  nd6_llinfo_timer() functions with a KASSERT().
  Note: there is no need to return after panic.

  In the legacy IP case, only assign the arg after the check,
  in the IPv6 case, remove the extra checks for the table and
  interface as they have to be there unless we freed and forgot
  to cancel the timer.  It doesn't matter anyway as we would
  panic on the NULL pointer deref immediately and the bug is
  elsewhere.
  This unifies the code of both address families to some extend.

  Reviewed by:  rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@210928 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210641: Fix a couple of typos.
uqs [Fri, 6 Aug 2010 09:08:18 +0000 (09:08 +0000)]
MFC r210641: Fix a couple of typos.

PR: docs/148891
Submitted by: olgeni

git-svn-id: svn://svn.freebsd.org/base/stable/8@210919 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

13 years agoMFC r210637: Fix typo in pom(6) manpage
uqs [Fri, 6 Aug 2010 08:59:54 +0000 (08:59 +0000)]
MFC r210637: Fix typo in pom(6) manpage

PR: docs/148825
Submitted by: Anatoly Borodin

git-svn-id: svn://svn.freebsd.org/base/stable/8@210917 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f