summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes two bugs:rrs2009-09-131-1/+9
| | | | | | | | | | | 1) A lock issue, if we ever had to try again we would double lock the INP lock. 2) We were allowing (at wrap) associd 0... which really we cannot allow since 0 normally means in most socket API calls that we are wishing to effect something on the INP not TCB. MFC after: 1 week
* Add missing \n.pjd2009-09-131-1/+1
| | | | Reported by: marck
* Work-around READDIRPLUS problem with .zfs/ and .zfs/snapshot/ directoriespjd2009-09-131-0/+14
| | | | | | | | | | | | | | | | | | by just returning EOPNOTSUPP. This will allow NFS server to fall back to regular READDIR. Note that converting inode number to snapshot's vnode is expensive operation. Snapshots are stored in AVL tree, but based on their names, not inode numbers, so to convert inode to snapshot vnode we have to interate over all snalshots. This is not a problem in OpenSolaris, because in their READDIRPLUS implementation they use VOP_LOOKUP() on d_name, instead of VFS_VGET() on d_fileno as we do. PR: kern/125149 Reported by: Weldon Godfrey <wgodfrey@ena.com> Analysis by: Jaakko Heinonen <jh@saunalahti.fi> MFC after: 3 days
* Revert r196779 in order to implement a different scheme for newbus lockingattilio2009-09-132-22/+3
| | | | | | methodology. Requested by: imp
* Factor out the duplicated macro for the device type used in themarius2009-09-134-7/+11
| | | | | | OFW device tree for PCI bridges and add a new one for PCI Express. While at it, take advantage of the former for the rman(9) work- around in jbusppm(4).
* Bump our namespace version for 9.0.deischen2009-09-131-1/+11
| | | | | Add a comment about keeping the private namespace at the end of the dependency chain.
* MFi386:nyan2009-09-131-1/+1
| | | | | | | Move the loader's entry point to 0x200000. This change is also needed for pc98. MFC after: 3 days
* Add a couple of small fixes from the AMD folks.rnoland2009-09-131-4/+8
| | | | | | | - max tex height is 8192 - increment src/dst by the full transfer amount MFC after: 3 days
* Add missing pci id for Radeon 4850 X2rnoland2009-09-131-0/+1
| | | | MFC after: 3 days
* When zfs.ko is compiled with debug, make sure that znode and vnode point atpjd2009-09-133-3/+22
| | | | | | each other. MFC after: 3 days
* Extend scope of the z_teardown_lock lock for consistency and "just in case".pjd2009-09-131-2/+3
| | | | MFC after: 3 days
* Be sure not to overflow struct fid.pjd2009-09-131-0/+2
| | | | MFC after: 3 days
* There is a bug where mze_insert() can trigger an assert() of insertingpjd2009-09-131-5/+16
| | | | | | | | | | | the same entry twice. This bug is not fixed yet, but leads to situation where when try to access corrupted directory the kernel will panic. Until the bug is properly fixed, try to recover from it and log that it happened. Reported by: marck OpenSolaris bug: 6709336 MFC after: 3 days
* In expire_mfc(), add an assert on the multicast forwarding cache mutex.bms2009-09-131-0/+2
| | | | PR: 138666
* Add missing comments and whitespace clean-ups.hrs2009-09-121-42/+64
|
* Use is_wired_interface() instead of hard-coded interface devicehrs2009-09-121-22/+3
| | | | | | names. Pointed out by: sam
* The following changes are added because ofhrs2009-09-122-41/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | network_ipv6->rc.d/netif integration: - $ipv6_enable is now obsolete. Instead, IPv6 is enabled by default if the kernel supports it, and $ipv6_network_interfaces is "none" by default. If you want to use IPv6, define $ipv6_network_interfaces and $ifconfig_xxx_ipv6. An interface which is in $network_interfaces and not in $ipv6_network_interfaces will be marked as "inet6 -auto_linklocal ifdisabled" (see ifconfig(8)). - $ipv6_ifconfig_xxx is renamed to ifconfig_xxx_ipv6 for consistency with other address families. The old variables still work but can be removed in the future. Note that ipv6_ifconfig_xxx="..." should be replaced with ifconfig_xxx_ipv6="inet6 ...". - Receiving ICMPv6 Router Advertisement is not automatically enabled even if there is no manual configuration of IPv6 in rc.conf. If you want it, define ifconfig_xxx_ipv6="inet6 ... accept_rtadv". - The rc.d/ip6addrctl now chooses address selection policy based on $ipv6_prefer, not $ipv6_enable. The default is ipv6_prefer=NO. - $router* and $ipv6_router* are replaced with $routed_* and $route6d_* for consistency. The old variables still work but can be removed in the future. MFC after: 3 days
* Add an extension of set_rcvar(), a new function set_rcvar_obsolete(),hrs2009-09-123-47/+155
| | | | | | | | | | | | | | | and $desc. The set_rcvar_obsolete() is for displaying an obsolete variable and the new one. More specifically, a warning is displayed when a variable is removed or changed in the source tree and the user still defines the old one. $router* and $ipv6_router* are replaced with $routed_* and $route6d_* for consistency. The old variables still work but can be removed in the future. MFC after: 3 days
* Use RCng coding convention.hrs2009-09-121-64/+52
| | | | MFC after: 3 days
* Document accept_rev_ethip_ver and send_rev_ethip_ver flags ofhrs2009-09-121-0/+19
| | | | | | EtherIP (gif(4) + if_bridge(8)). MFC after: 3 days
* Add support for ND6_IFF_IFDISABLED and ND6_IFF_ACCEPT_RTADV tohrs2009-09-124-7/+60
| | | | | | the -F flag. MFC after: 3 days
* - Add "AUTO" keyword support in $rtadvd_interfaces.hrs2009-09-121-2/+17
| | | | | | - Wrap a long line. MFC after: 3 days
* Integrate rc.d/network_ipv6 into rc.d/netif:hrs2009-09-1215-544/+902
| | | | | | | | | | - Add rc.d/stf and rc.d/faith for stf(4) and faith(4). - Remove rc.d/auto_linklocal and rc.d/network_ipv6. - Move rc.d/sysctl to just before FILESYSTEMS because rc.d/netif depends on some sysctl variables. Reviewed by: brooks MFC after: 3 days
* Improve flexibility of receiving Router Advertisement andhrs2009-09-1215-54/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | automatic link-local address configuration: - Convert a sysctl net.inet6.ip6.accept_rtadv to one for the default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a global knob. The default value of the sysctl is 0. - Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a sysctl net.inet6.ip6.auto_linklocal to one for its default value. The default value of the sysctl is 1. - Make ND6_IFF_IFDISABLED more robust. It can be used to disable IPv6 functionality of an interface now. - Receiving RA is allowed if ip6_forwarding==0 *and* ND6_IFF_ACCEPT_RTADV is set on that interface. The former condition will be revisited later to support a "host + router" box like IPv6 CPE router. The current behavior is compatible with the older releases of FreeBSD. - The ifconfig(8) now supports these ND6 flags as well as "nud", "prefer_source", and "disabled" in ndp(8). The ndp(8) now supports "auto_linklocal". Discussed with: bz and jinmei Reviewed by: bz MFC after: 3 days
* Make sure callouts are not processed one tick late.luigi2009-09-121-2/+2
| | | | | | | | | | The problem was introduced in SVN 180608/ rev 1.114 and affects all users of callout_reset() (including select, usleep, setitimer). A better fix probably involves replicating 'ticks' in the struct callout_cpu; this commit is just a temporary thing so that we can MFC it after a suitable test time and RE approval. MFC after: 3 days
* Comment some flawed assumptions in inp_join_group() aboutbms2009-09-121-2/+21
| | | | | | | | mixing SSM full-state and delta-based APIs. ENOTIME to fix right now. No functional changes. MFC after: 5 days
* Don't allow joins w/o source on an existing group.bms2009-09-121-8/+14
| | | | | | | | | | | | | | | | | This is almost always pilot error. We don't need to check for group filter UNDEFINED state at t1, because we only ever allocate filters with their groups, so we unconditionally reject such calls with EINVAL. Trying to change the active filter mode w/o going through IP_MSFILTER is also disallowed. Deals with the case described in PR 137164 upfront, cumulative with the fix in svn rev 197132 which only calls imo_match_source() if the source address family was not unspecified. PR: 137164 MFC after: 5 days
* Use C99 initialization for struct filterops.rwatson2009-09-1213-58/+149
| | | | | | Obtained from: Mac OS X Sponsored by: Apple Inc. MFC after: 3 weeks
* - Protect reclaim with z_teardown_inactive_lock.pjd2009-09-122-5/+29
| | | | | | | | | | - Be prepared for dbuf to disappear in zfs_reclaim_complete() and check if z_dbuf field is NULL - this might happen in case of rollback or forced unmount between zfs_freebsd_reclaim() and zfs_reclaim_complete(). - On forced unmount wait for all znodes to be destroyed - destruction can be done asynchronously via zfs_reclaim_complete(). MFC after: 1 week
* Tighten input checking in inp_join_group():bms2009-09-121-15/+35
| | | | | | | | | | | | | | | | | | * Don't try to use the source address, when its family is unspecified. * If we get a join without a source, on an existing inclusive mode group, this is an error, as it would change the filter mode. Fix a problem with the handling of in_mfilter for new memberships: * Do not rely on imf being NULL; it is explicitly initialized to a non-NULL pointer when constructing a membership. * Explicitly initialize *imf to EX mode when the source address is unspecified. This fixes a problem with in_mfilter slot recycling in the join path. PR: 138690 Submitted by: Stef Walter MFC after: 5 days
* Tighten up the check for race in zfs_zget() - ZTOV(zp) can not only containpjd2009-09-121-2/+10
| | | | | | | | | NULL, but also can point to dead vnode, take that into account. PR: kern/132068 Reported by: Edward Fisk" <7ogcg7g02@sneakemail.com>, kris Fix based on patch from: Jaakko Heinonen <jh@saunalahti.fi> MFC after: 1 week
* Fix an obvious logic error in the IPv4 multicast leave processing,bms2009-09-121-2/+4
| | | | | | | | where the filter mode vector was not updated correctly after the leave. PR: 138691 Submitted by: Stef Walter MFC after: 5 days
* Fix an API issue in leave processing for IPv4 multicast groups.bms2009-09-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | * Do not assume that the group lookup performed by imo_match_group() is valid when ifp is NULL in this case. * Instead, return EADDRNOTAVAIL if the ifp cannot be resolved for the membership we are being asked to leave. Caveat user: * The way IPv4 multicast memberships are implemented in the inpcb layer at the moment, has the side-effect that struct ip_moptions will still hold the membership, under the old ifp, until ip_freemoptions() is called for the parent inpcb. * The underlying issue is: the inpcb layer does not get notification of ifp being detached going away in a thread-safe manner. This is non-trivial to fix. But hey, at least the kernel should't panic when you unplug a card. PR: 138689 Submitted by: Stef Walter MFC after: 5 days
* intpm: add support for smbus controller found in AMD SB700avg2009-09-122-13/+43
| | | | | | | | | | | | | | | | According to the specifications AMD/ATI SMBus controller is very similar to SMBus controller found in PIIX4. Some notable differences: o different bit for enabling/signalling regular interrupt mode o in practice seems to support only polling mode Thus, intpm driver is modified to support polling-only mode and to recognize SB700 PCI ID and differences. Tested on: SB700 and PIIX4E platforms Reviewed by: jhb MFC after: 2 weeks X-Perhaps-ToDo: rename the driver to reflect its function and supported hardware
* ifconfig now needs -ljailluigi2009-09-121-0/+1
| | | | | | (this needs to go to RELENG_8 as well after the release is out) MFC after: 1 month
* Commit a change that I missed in the previous commit.ed2009-09-121-0/+4
| | | | I ran `svn commit' in sys/teken/, instead of sys/.
* Commit all local modifications I have to libteken:ed2009-09-125-102/+122
| | | | | | | | - Make xterm/cons25 support runtime configurable. This allows me to share libteken between syscons and my new vt driver. - Add a fix to print blanks after printing a double width character to prevent rendering artifacts. - Add some more utility functions that I use in the vt driver.
* Small style(9) bug introduced in the previous commit.ed2009-09-121-2/+2
|
* Make 8-bit support run-time configurable.ed2009-09-125-47/+40
| | | | | Now to do the same for xterm support. This means people can eventually toy around with xterm+UTF-8 without recompiling their kernel.
* Make resizing of teken terminals a bit more safe.ed2009-09-122-4/+4
| | | | | | Just perform a full reset when resizing the terminal. This means the cursor, scrolling region, etc. are never positioned outside the terminal.
* Fix typo in example.des2009-09-121-1/+1
| | | | | Noticed by: rookie@ MFC after: 1 week
* Mention that individual device driver can accept other flags throughdelphij2009-09-121-3/+5
| | | | | | resource_int_value(9). MFC after: 1 month
* Make use of the more flexable device hints by adding a new field,delphij2009-09-122-5/+10
| | | | vesa_mode to specify VESA mode, as suggested by jhb@.
* fix UP compilationkmacy2009-09-112-3/+1
|
* Canonify include paths for newly added files.jkim2009-09-114-9/+9
|
* Catch up with ACPICA 20090903.jkim2009-09-111-5/+5
|
* Catch up with ACPICA 20090903.jkim2009-09-116-130/+90
|
* MFV: r196804jkim2009-09-1176-2295/+5743
|\ | | | | | | Import ACPICA 20090903
| * Import ACPICA 20090903jkim2009-09-0424-197/+1025
| |
| * Import ACPICA 20090730jkim2009-07-3135-1296/+3124
| |
OpenPOWER on IntegriCloud