| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
active in failover mode rather than all interfaces with a link. This makes it
clear if the master interface is in use or one of the backup links.
Found by: Writing the Handbook section
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=172020
|
|
|
|
|
|
|
|
|
| |
Approved by: re (bmah)
Submitted by: sbahra@hpcl.seas.gwu.edu (via #bsddocs@EFnet)
Pointy hat to: rwatson
Notes:
svn path=/head/; revision=172019
|
|
|
|
|
|
|
|
|
|
|
| |
to be held and this will falsely trigger if called from net80211.
Reported by: Munehiro (haro) Matsuda
Reviewed by: sam
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=172012
|
|
|
|
|
|
|
|
|
|
|
|
| |
ktruserret() is invoked, an unlocked check of the per-process queue
is performed inline, thus, we don't lock the ktrace_sx on every userret().
Pointy hat to: jhb
Approved by: re (kensmith)
Pointy hat recovered from: rwatson
Notes:
svn path=/head/; revision=172011
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ZD1211/ZD1211B USB IEEE 802.11b/g wireless network devices. Not (yet)
connected to the build process (next batch of commits once I've looped
the current back back).
Submitted by: Weongyo Jeong
Reviewed by: sam@
Approved by: re@
Notes:
svn path=/head/; revision=172010
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bill Paul copyright. Not sure what the right copyright is, but this
file has been through 22 reversions on OpenBSD and 1 on NetBSD. This
isn't (yet) connected to the build, just in case I've done something
wrong (test builds worked, but better safe than sorry).
Submitted by: Weongyo Jeong
Approved by: re@
Notes:
svn path=/head/; revision=172009
|
|
|
|
|
|
|
|
| |
Submitted by: Weongyo Jeong
Approved by: re@ (kensmith)
Notes:
svn path=/head/; revision=172008
|
|
|
|
|
|
|
|
|
|
| |
Weongyo Jeong.
Submitted by: Weongyo Jeong
Approved by: re@
Notes:
svn path=/head/; revision=172007
|
|
|
|
|
|
|
|
|
|
|
|
| |
import. The PF mbuf-tagging support routines changed to link the
allocated tags into the provided mbuf themselves, so the left-over
m_tag_prepend() was trying to add a bogus (usually NULL) tag.
Reviewed by: mlaier
Approved by: re
Notes:
svn path=/head/; revision=172006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
64-bit counters) to a 4.x statfs structure (with long-sized counters).
- For block counters, we scale up the block size sufficiently large so
that the resulting block counts fit into a the long-sized (long for the
ABI, so 32-bit in freebsd32) counters. In 4.x the NFS client's statfs
VOP did this already. This can lie about the block size to 4.x binaries,
but it presents a more accurate picture of the ratios of free and
available space.
- For non-block counters, fix the freebsd32 stats converter to cap the
values at INT32_MAX rather than losing the upper 32-bits to match the
behavior of the 4.x statfs conversion routine in vfs_syscalls.c
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=172003
|
|
|
|
|
|
|
| |
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171999
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with Linux 2.6 emulation. This shall be reimplemented once FreeBSD gets
native scheduler affinity syscalls.
Submitted by: rdivacky
Reviewed by: jkim
Sponsored by: Google Summer of Code 2007
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171998
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both WWNN and WWPN are 64-bit unsigned integers and they are prefixed
with "0x", which requires two more bytes each.
Submitted by: Danny Braniss (danny at cs dot huji dot ac dot il)
via Matthew Jacob (lydianconcepts at gmail dot com)
Approved by: re (bmah)
MFC after: 3 days
Notes:
svn path=/head/; revision=171997
|
|
|
|
|
|
|
|
|
|
| |
this curses based app.
Submitted by: ivoras
Approved by: re@ (bmah@)
Notes:
svn path=/head/; revision=171996
|
|
|
|
|
|
|
|
|
|
|
|
| |
I did this in the previous commit, leaves out the parsing of $FreeBSD$
which is actually required to be parsed.
Kindly reminded by: bmah
Approved by: re (bmah)
Approved by: imp (mentor, implicit)
Notes:
svn path=/head/; revision=171995
|
|
|
|
|
|
|
|
|
| |
Reminded by: ceri
Approved by: re (bmah)
Approved by: imp (mentor)
Notes:
svn path=/head/; revision=171994
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the last message on the send stream was "null" but still
there, a state we allow, we could get hung and not clean
it up and wait for the shutdown guard timer to clear the
association without a graceful close. Fix this so that
that we properly clean up.
- Added support for Multiple ASCONF per new RFC. We only
(so far) accept input of these and cannot yet generate
a multi-asconf.
- Sysctl'd support for experimental Fast Handover feature. Always
disabled unless sysctl or socket option changes to enable.
- Error case in add-ip where the peer supports AUTH and ADD-IP
but does NOT require AUTH of ASCONF/ASCONF-ACK. We need to
ABORT in this case.
- According to the Kyoto summit of socket api developers
(Solaris, Linux, BSD). We need to have:
o non-eeor mode messages be atomic - Fixed
o Allow implicit setup of an assoc in 1-2-1 model if
using the sctp_**() send calls - Fixed
o Get rid of HAVE_XXX declarations - Done
o add a sctp_pr_policy in hole in sndrcvinfo structure - Done
o add a PR_SCTP_POLICY_VALID type flag - yet to-do in a future patch!
- Optimize sctp6 calls to reuse code in sctp_usrreq. Also optimize
when we close sending out the data and disabling Nagle.
- Change key concatenation order to match the auth RFC
- When sending OOTB shutdown_complete always do csum.
- Don't send PKT-DROP to a PKT-DROP
- For abort chunks just always checksums same for
shutdown-complete.
- inpcb_free front state had a bug where in queue
data could wedge an assoc. We need to just abandon
ones in front states (free_assoc).
- If a peer sends us a 64k abort, we would try to
assemble a response packet which may be larger than
64k. This then would be dropped by IP. Instead make
a "minimum" size for us 64k-2k (we want at least
2k for our initack). If we receive such an init
discard it early without all the processing.
- When we peel off we must increment the tcb ref count
to keep it from being freed from underneath us.
- handling fwd-tsn had bugs that caused memory overwrites
when given faulty data, fixed so can't happen and we
also stop at the first bad stream no.
- Fixed so comm-up generates the adaption indication.
- peeloff did not get the hmac params copied.
- fix it so we lock the addr list when doing src-addr selection
(in future we need to use a multi-reader/one writer lock here)
- During lowlevel output, we could end up with a _l_addr set
to null if the iterator is calling the output routine. This
means we would possibly crash when we gather the MTU info.
Fix so we only do the gather where we have a src address
cached.
- we need to be sure to set abort flag on conn state when
we receive an abort.
- peeloff could leak a socket. Moved code so the close will
find the socket if the peeloff fails (uipc_syscalls.c)
Approved by: re@freebsd.org(Ken Smith)
Notes:
svn path=/head/; revision=171990
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pack a set number correctly.
Submitted by: oleg
o Plug a memory leak.
Submitted by: oleg and Andrey V. Elsukov
Approved by: re (kensmith)
MFC after: 1 week
Notes:
svn path=/head/; revision=171989
|
|
|
|
|
|
|
|
|
|
|
|
| |
image compress much better.
Respect pkg_add's internal 200 package limitation.
Approved by: re (bmah)
Spelling fixes by: bmah
Notes:
svn path=/head/; revision=171986
|
|
|
|
|
|
|
|
|
|
| |
malformatted beacons.
Reviewed by: sam
Approved by: re (bmah), sam (mentor)
Notes:
svn path=/head/; revision=171985
|
|
|
|
|
|
|
|
|
|
|
| |
- Per ieee80211com sysctl ctx leakage on detach
- getmgtframe incorrectly adjusts mbuf.m_data
Reviewed by: sam
Approved by: re (bmah), sam (mentor)
Notes:
svn path=/head/; revision=171984
|
|
|
|
|
|
|
|
|
|
|
| |
includes the upcoming Dell PERC6 series. Many thanks to LSI for
contributing this code.
Submitted by: LSI
Approved by: re
Notes:
svn path=/head/; revision=171980
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove cpl->iff panic - we can't know the port number from the rspq on the 4-port
- pick the ifnet based on the interface in the CPL header
- switch to using qset 0 for egress on the 4-port for now - may change
when we start using RSS
- move ether_ifdetach to before the port lock gets deinitialized to avoid
hang in the case where there are BPF peers (cxgb_ioctl is called indirectly
when BPF peers are present)
- don't call t3_mac_reset if multiport is set, this was causing tx errors
by misconfiguring the MAC on the 4-port
- change V_TXPKT_INTF to use txpkt_intf as the interfaces are not contiguous
- free the mbuf immediately in the case where the payload is small enough to be copied
into the rspq
- only update the coalesce timer if for a queue if packets were taken off of it
- add in missed 20ms DELAY in initializaton vsc8211
- prompt MFC as this only applies to the 4-port which is currently completely
broken - OK'd by kensmith
Supported by: Chelsio
Approved by: re (blanket)
MFC after: 0 days
Notes:
svn path=/head/; revision=171978
|
|
|
|
|
|
|
|
|
|
|
| |
otherwise the /dev/mdX.uzip won't be created immediately, which is
needed because we issue a mount right afterwards.
Approved by: re@ (bmah@)
MFC after: 2 days
Notes:
svn path=/head/; revision=171956
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: cnst@ (Constantine A. Murenin)
Sponsored by: Google Summer of Code 2007
Approved by: re@ (bmah)
MFC after: 1 week
Notes:
svn path=/head/; revision=171955
|
|
|
|
|
|
|
|
|
|
| |
longer exist in libc.
Requested by: Craig Rodrigues
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171954
|
|
|
|
|
|
|
|
|
| |
(Noticed in ghostscript-gpl core dump)
Approved by: re@ (bmah)
Notes:
svn path=/head/; revision=171951
|
|
|
|
|
|
|
|
|
| |
Reviewed by: avatar
Approved by: re (kensmith)
Obtained from: madwifi
Notes:
svn path=/head/; revision=171950
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated release note: tzdata2007g [1].
[1] Technically I should remove the &merged; entity here but the commit has
a one-week MFC-after so I figure I can leave it this way for now.
Approved by: re (implicitly)
Notes:
svn path=/head/; revision=171949
|
|
|
|
|
|
|
|
|
|
|
| |
PR: conf/115706
Submitted by: edwin@
Approved by: re (bmah@)
Obtained from: ftp://elsie.nci.nih.gov/pub/
MFC after: 1 week
Notes:
svn path=/head/; revision=171948
|
|\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=171946
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Timezone data changes in the following locations:
- Egypt
- Australia (new DST rules for 2008 and following)
- Perry County, Indiana
- America/Indiana/Tell_City
- Pike County, Indiana
Also:
- City coordinates corrected.
- Layout of leapseconds is updated
PR: conf/115706
Approved by: re (bmah@)
Notes:
svn path=/vendor/tzdata/dist/; revision=171945
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
when peer acks the add in case the routing table changes.
- Fix sctp_lower_sosend to send shutdown chunk for mbuf send
case when sndlen = 0 and sinfoflag = SCTP_EOF
- Fix sctp_lower_sosend for SCTP_ABORT mbuf send case with null data,
So that it does not send the "null" data mbuf out and cause
it to get freed twice.
- Fix so auto-asconf sysctl actually effect the socket's asconf state.
- Do not allow SCTP_AUTO_ASCONF option to be used on subset bound sockets.
- Memset bug in sctp_output.c (arguments were reversed) submitted
found and reported by Dave Jones (davej@codemonkey.org.uk).
- PD-API point needs to be invoked >= not just > to conform to socket api
draft this fixes sctp_indata.c in the two places need to be >=.
- move M_NOTIFICATION to use M_PROTO5.
- PEER_ADDR_PARAMS did not fail properly if you specify an address
that is not in the association with a valid assoc_id. This meant
you got or set the stcb level values instead of the destination
you thought you were going to get/set. Now validate if the
stcb is non-null and the net is NULL that the sa_family is
set and the address is unspecified otherwise return an error.
- The thread based iterator could crash if associations were freed
at the exact time it was running. rework the worker thread to
use the increment/decrement to prevent this and no longer use
the markers that the timer based iterator uses.
- Fix the memleak in sctp_add_addr_to_vrf() for the case when it is
detected that ifa is already pointing to a ifn.
- Fix it so that if someone is so insane that they drop the
send window below the minimal add mark, they still can send.
- Changed all state for associations to use mask safe macro.
- During front states in association freeing in sctp_inpcbfree, we
had a locking problem where locks were not in place where they
should have been.
- Free association calls were not testing the return value in
sctp_inpcb_free() properly... others should be cast void returns
where we don't care about the return value.
- If a reference count is held on an assoc, even from the "force free"
we should not do the actual free.. but instead let the timer
free it.
- When we enter sctp_input(), if the SCTP_ASOC_ABOUT_TO_BE_FREED
flag is set, we must NOT process the packet but handle it like
ootb. This is because while freeing an assoc we release the
locks to get all the higher order locks so we can purge all
the hash tables. This leaves a hole if a packet comes in
just at that point. Now sctp_common_input_processing() will
call the ootb code in such a case.
- Change MBUF M_NOTIFICATION to use M_PROTO5 (per Sam L). This makes
it so we don't have a conflict (I think this is a covertity change).
We made this change AFTER some conversation and looking to make sure
that M_PROTO5 does not have a problem between SCTP and the 802.11
stuff (which is the only other place its used).
- Fixed lock order reversal and missing atomic protection around
locked_tcb during association lookup and the 1-2-1 model.
- Added debug to source address selection.
- V6 output must always do checksum even for loopback.
- Remove more locks around inp that are not needed for an atomically
added/subtracted ref count.
- slight optimization in the way we zero the array in sctp_sack_check()
- It was possible to respond to a ABORT() with bad checksum with
a PKT-DROP. This lead to a PKT-DROP/ABORT war. Add code to NOT
send a PKT-DROP to any ABORT().
- Add an option for local logging (useful for macintosh or when
you need better performing during debugging). Note no commands
are here to get the log info, you must just use kgdb.
- The timer code needs to be aware of if it needs to call
sctp_sack_check() to slide the maps and adjust the cum-ack.
This is because it may be out of sync cum-ack wise.
- Added threshold managment logging.
- If the user picked just the right size, that just filled the send
window minus one mtu, we would enter a forever loop not copying and
at the same time not blocking. Change from < to <= solves this.
- Sysctl added to control the fragment interleave level which defaults
to 1.
- My rwnd control was not being used to control the rwnd properly (we
did not add and subtract to it :-() this is now fixed so we handle
small messages (1 byte etc) better to bring our rwnd down more
slowly.
Approved by: re@freebsd.org (Bruce Mah)
Notes:
svn path=/head/; revision=171943
|
| |
| |
| |
| |
| |
| |
| |
| | |
Submitted by: bruce@cran.org.uk
Approved by: re@freebsd.org (Bruce Mah)
Notes:
svn path=/head/; revision=171942
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Adaptec RAID 3405
- Adaptec RAID 3805
Approved by: re (bmah)
Submitted by: John Marra jmarra at nmu dot edu
MFC After: 1 week
Notes:
svn path=/head/; revision=171940
|
| |
| |
| |
| |
| |
| |
| | |
Approved by: re (bmah)
Notes:
svn path=/head/; revision=171939
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
listen(2) is called on improperly bound socket.
Suggested by: Iain Hibbert
Approved by: re (kensmith)
MFC after: 3 days
Notes:
svn path=/head/; revision=171937
|
| |
| |
| |
| |
| |
| |
| |
| | |
Approved by: re (kensmith)
MFC after: 3 days
Notes:
svn path=/head/; revision=171936
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR: bin/93915 bin/109134
Submitted by: Jason Heiss <heissj@yahoo-inc.com>, Constantin Stefanov<cstef@mail.ru>
Approved by: re@ (kensmith)
MFC after: 7 days
Notes:
svn path=/head/; revision=171934
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
critical temperature + sched_unbind() after rdmsr + initialize sc_dev.
Submitted by: Rui Paulo <rpaulo@fnop.net>, cnst
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171933
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of threaded RPC servers to work out of the box.
Spotted by: Changming Sun <changming at staff.sina.com.cn>
Sponsored by: SINA Corporation
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171932
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Approved by: re (kensmith)
Spotted by: Changming Sun <changming at staff.sina.com.cn>
Sponsored by: SINA Corporation
Notes:
svn path=/head/; revision=171931
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ICMP error message, do not access th_flags. The field is beyond
the first eight bytes of the header that are required to be present
and were pulled up in the mbuf.
A random value of th_flags can have TH_SYN set, which made the
sequence number comparison not apply the window scaling factor,
which led to legitimate ICMP(v6) packets getting blocked with
"BAD ICMP" debug log messages (if enabled with pfctl -xm), thus
breaking PMTU discovery.
Triggering the bug requires TCP window scaling to be enabled
(sysctl net.inet.tcp.rfc1323, enabled by default) on both end-
points of the TCP connection. Large scaling factors increase
the probability of triggering the bug.
PR: kern/115413: [ipv6] ipv6 pmtu not working
Tested by: Jacek Zapala
Reviewed by: mlaier
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171929
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These files have been repo-copied from src/include/fts.h
and src/lib/libc/gen/fts.c to serve as a base for 4.4BSD
compatible versions of fts(3) functions to be preserved
through libc symbol versioning while the default versions
undergo ABI-breaking extension to support big file trees.
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171927
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to treat the frame under 'nmi_calltrap' as a trapframe.
MFC after: 3 days
Approved by: re (bmah)
Notes:
svn path=/head/; revision=171924
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add the bind mtree to the TinyBSD build so that files
can be installed there (else the build fails)
- Change GEOM_GPT to GEOM_PART_GPT since that had been
renamed in current. The kernel configuration provided
by TinyBSD will not build without these changes.
PR: misc/115484
PR: misc/115405
Submitted by: Richard Arends <richard at unixguru dot nl>
Approved by: re (bmah)
Approved by: imp (mentor)
Notes:
svn path=/head/; revision=171923
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
category now
PR: docs/115193
Submitted by: Tomas Mozes <hydrapolic at gmail dot com>
Approved by: re (bmah),
keramida (mentor)
MFC after: 0 days
Notes:
svn path=/head/; revision=171921
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR: docs/115571
Submitted by: rodrigc
Approved by: re (bmah),
keramida (mentor)
MFC after: 1 week
Notes:
svn path=/head/; revision=171920
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR: docs/115151
Submitted by: O. Hartmann <ohartman at zedat dot fu-berlin dot de>
Approved by: re (bmah),
keramida (mentor)
Notes:
svn path=/head/; revision=171919
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
on an down mxge interface
- Fix a bug where mxge reported the link state as
active when it wasn't (after ifconfig down).
- Prevent spurious watchdog resets when link partner is not consuming
- Add support for CX4 and popular XFP media detection
- Update the firmware and associated header files to 1.4.25
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171917
|