summaryrefslogtreecommitdiffstats
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Remove unused variable from pf_subr.c to make it -Werror buildable.mlaier2007-07-051-1/+1
| | | | | | | | | | | | | | | | Approved by: re (kensmith)
* | | | Add two place holders in struct pf_rule for future netgraph integration.mlaier2007-07-031-0/+2
| | | | | | | | | | | | | | | | | | | | Submitted by: Ermal Luçi Approved by: re (kensmith)
* | | | Link pf 4.1 to the build:mlaier2007-07-035-16/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move ftp-proxy from libexec to usr.sbin - add tftp-proxy - new altq mtag link Approved by: re (kensmith)
* | | | Commit resolved import of OpenBSD 4.1 pf from perforce.mlaier2007-07-0313-2488/+3410
| | | | | | | | | | | | | | | | Approved by: re (kensmith)
* | | | This commit was generated by cvs2svn to compensate for changes in r171164,mlaier2007-07-031-0/+415
|\ \ \ \ | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | | Import pf from OpenBSD 4.1mlaier2007-07-0312-1690/+2973
| | | | |
| * | | | Loopback four fixes from OpenBSD for problems reported to the freebsd-pfmlaier2005-09-082-21/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mailing list onto the vendor branch: pf_ioctl.c Revision 1.153 Sun Aug 7 11:37:33 2005 UTC by dhartmei | verify ticket in DIOCADDADDR, from Boris Polevoy, ok deraadt@ pf_ioctl.c Revision 1.158 Mon Sep 5 14:51:08 2005 UTC by dhartmei | in DIOCCHANGERULE, properly initialize table, if used in NAT rule. | from Boris Polevoy <vapcom at mail dot ru>, ok mcbride@ pf.c Revision 1.502 Mon Aug 22 11:54:25 2005 UTC by dhartmei | when nat'ing icmp 'connections', replace icmp id with proxy values | (similar to proxy ports for tcp/udp). not all clients use | per-invokation random ids, this allows multiple concurrent | connections from such clients. | thanks for testing to Rod Whitworth, "looks ok" markus@ pf.c Revision 1.501 Mon Aug 22 09:48:05 2005 UTC by dhartmei | fix rdr to bitmask replacement address pool. patch from Max Laier, | reported by Boris Polevoy, tested by Jean Debogue, ok henning@
| * | | | Import pf from OpenBSD 3.7 (OPENBSD_3_7 as of today)mlaier2005-05-0311-1093/+2403
| | | | |
| * | | | Import a fix from the OpenBSD-stable branch, that slipped by my previousmlaier2004-08-121-2/+3
| | | | | | | | | | | | | | | | | | | | import. Sorry.
| * | | | Import a couple of fixes from OpenBSD-current, which did not make -stable inmlaier2004-08-124-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenBSD for various reasons. Discussed with: yongari
| * | | | Import from OpenBSD stable branchmlaier2004-07-171-42/+53
| | | | |
| * | | | Import OpenBSD stable branch.mlaier2004-06-173-19/+16
| | | | |
* | | | | Fix hardware checksum verification on fragments.mlaier2007-07-031-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 7 days Reported/tested by: Hugo Koji Kobayashi, Vadym Chepkov Reviewed/help by: yongari Approved by: re (kensmith)
* | | | | In zfs_vget, if we fail to translate an inode number to the correspondingdfr2007-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vnode, make sure we return an error code to the caller. Reviewed by: pjd Approved by: re
* | | | | Pointer to an ICMP header was getting left behind after doing a pullup.darrenr2007-06-091-0/+1
| | | | |
* | | | | Add my copyright.marcel2007-06-081-0/+28
| | | | | | | | | | | | | | | | | | | | Requested by: pjd@
* | | | | - Reduce number of atomic operations needed to be implemented in asm bypjd2007-06-085-1707/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementing some of them using existing ones. - Allow to compile ZFS on all archs and use atomic operations surrounded by global mutex on archs we don't have or can't have all atomic operations needed by ZFS.
* | | | | Missing atomic operations for ZFS/ia64.pjd2007-06-081-0/+54
| | | | | | | | | | | | | | | | | | | | Submitted by: marcel
* | | | | Reimplement traverse() helper function:pjd2007-06-041-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Pass locking flags to VFS_ROOT(). 2. Check v_mountedhere while the vnode is locked. 3. Always return locked vnode on success. Change 1 fixes problem reported by Stephen M. Rumble - after zfs_vfsops.c,1.9 change, zfs_root() no longer locks the vnode unconditionally and traverse() didn't pass right lock type to VFS_ROOT(). The result was that kernel paniced when .zfs/ directory was accessed via NFS.
* | | | | Merge IPFilter 4.1.23 back to HEADdarrenr2007-06-0422-1346/+3701
| | | | | | | | | | | | | | | | | | | | See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
* | | | | This commit was generated by cvs2svn to compensate for changes in r170263,darrenr2007-06-0412-154/+555
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | | Import IPFilter 4.1.23 to vendor branch.darrenr2007-06-0434-1527/+4276
| | | | | | | | | | | | | | | | | | | | See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
* | | | | Adjust va_mask for setattr. FreeBSD doesn't have va_mask, so we initialize itpjd2007-05-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | based on individual fields beeing set. This doesn't work for setattr replay, because va_type is set there, so we add AT_TYPE flag to va_mask, which won't be accepted by zfs_setattr(). Reported by: kris
* | | | | Because we allocate componentname structures on stack, bzero() them beforepjd2007-05-281-0/+3
| | | | | | | | | | | | | | | | | | | | use just in case.
* | | | | Initialize ZFS a bit earlier and block root mounting untilpjd2007-05-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialization is complete. This fixes some root-on-ZFS configurations. Reported by: Bruno Damour <freebsd.ruomad@free.fr> Tested by: Bruno Damour <freebsd.ruomad@free.fr>
* | | | | FreeBSD's namecache works quite well with ZFS, so remove DNLC.pjd2007-05-232-1075/+0
| | | | |
* | | | | All objects we create using GFS are directories, so initialize d_typepjd2007-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | properly, but add XXX comment saying that it can eventually change in the future.
* | | | | Lock vnode on lookup. This fixes ZIL replay for rmdir/unlink/rename.pjd2007-05-221-0/+3
| | | | | | | | | | | | | | | | | | | | Reported by: des
* | | | | From OpenBSD, rev. 1.524, 1.528, 1.529dhartmei2007-05-211-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deal with IPv6 routing headers (see FreeBSD-SA-07:03.ipv6 for background) Block IPv6 packets with routing headers by default, unless 'allow-opts' is specified. Block RH0 unconditionally. Deal with ip6_plen 0. MFC after: 1 week Discussed with: mlaier
* | | | | Increase debug level - this message is not that important.pjd2007-05-091-1/+1
| | | | |
* | | | | - Add missing lock destruction and remove duplicate initializations.pjd2007-05-066-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change it is possible to unload zfs.ko module from WITNESS-enabled kernel. - Remove bogus comment.
* | | | | Use provider's ident to handle situations when disks are moved aroundpjd2007-05-061-10/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and show up with different names: first try to open provider using remembered name and compare its ident, if equal, this is our provider, if not equal or there is no provider with such name, find provider with remembered ident and don't care about the name.
* | | | | MFp4: We don't need to cover vnode_pager_setsize() with the z_map_lock.pjd2007-05-061-1/+2
| | | | |
* | | | | Share-lock a vnode where possible.pjd2007-05-021-1/+1
| | | | |
* | | | | When parent directory has to be unlocked, lock it back with the same lockpjd2007-05-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | type. Before this change, if directory was shared-locked, it was relocked exclusively.
* | | | | Lock vnode using cn_lkflags in case the caller wants the vnode to bepjd2007-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | shared-locked.
* | | | | The getnewvnode() function sets LK_NOSHARE by default, so if we want topjd2007-05-021-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | support shared vnodes locking, we need to remove that flag. Also add LK_CANRECURSE flag as found in nfsclient.
* | | | | ZFS should update timestamps upon the creat() of an existing file.pjd2007-05-022-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenSolaris Bug: http://bugs.opensolaris.org/view_bug.do?bug_id=6465105
* | | | | - Lock vnode with flags passed in as argument in zfs_vget() and zfs_root().pjd2007-05-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pointed out by: ups Also reported by: kris - Add comments where I'm not sure if LK_RETRY should be used.
* | | | | MFp4: Remove LK_RETRY flag when locking vnode in zfs_lookup, we don't wantpjd2007-05-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dead vnodes here. Suggested by: kib
* | | | | White space fixes.pjd2007-05-014-34/+34
| | | | |
* | | | | Add a comment explaining why we call dmu_write() unconditionally, even ifpjd2007-05-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uiomove() fails, especially that it is different from what OpenSolaris does (I'm not entirely sure they are right). Suggested by: darrenr
* | | | | - Define d_type for ".", ".." and ".zfs" directories.pjd2007-04-292-0/+5
| | | | | | | | | | | | | | | | | | | | - Add a TODO comment where d_type is still noe defined.
* | | | | Oops, correct important typo in last commit.pjd2007-04-291-1/+1
| | | | |
* | | | | Avoid freeing NULL pointer in case of an error.pjd2007-04-291-1/+1
| | | | |
* | | | | Fix two use-after-free cases.pjd2007-04-291-2/+2
| | | | |
* | | | | MFp4: Optimize mappedwrite() and mappedread() functions to write/read as muchpjd2007-04-261-31/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-mapped data as possible at once and not page-by-page. Which this change we combain I/Os, but also saves many VM_OBJECT_UNLOCK()/VM_OBJECT_LOCK() operations. Simple 'fsx -l 33554432 -o 524288 -N 10000 /tank/fsx' test shows ~23% performance increase.
* | | | | - Always try to write one whole page at a time.pjd2007-04-261-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - vm_page_undirty() is enough (instead of vm_page_set_validclean()), but it has to be called before we write the data in case someone makes page dirty after our write, but before our vm_page_undirty() call. - Always dmu_write, not matter if uiomove() succeeded, because it could partially be ok and we would lose some changes. All good ideas from: ups
* | | | | MFV: Free znodes immediatelly, allowing the ARC to hold onto less memory.pjd2007-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | Full description at: http://bugs.opensolaris.org/view_bug.do?bug_id=6543706
* | | | | MFV: Functions name change.pjd2007-04-261-4/+4
| | | | |
OpenPOWER on IntegriCloud