Okay, now I know what's confusing you ... it's that bug I introduced :-)
The 2nd "if()" check on the RTF_GATEWAY flag should have been
an "else if()".
In a nutshell, the logic is any indirect route should fail the check,
except for that special host route.
Attached is the rework of that part of
Author: brueffer
Date: Mon Oct 10 09:13:07 2011
New Revision: 226185
URL: http://svn.freebsd.org/changeset/base/226185
Log:
Add missing break statement to make sure all 3DES etypes really are treated
the same.
CID: 3624
Found with: Coverity Prevent(tm)
Reviewed by: dfr
M
Author: melifaro
Date: Mon Oct 10 09:33:07 2011
New Revision: 226186
URL: http://svn.freebsd.org/changeset/base/226186
Log:
Free mbuf in case when protocol in unknown in ng_ipfw_rcvdata().
This change fixes (theoretically) possible mbuf leak introduced in
r225586. Reorder code a bit and chan
Author: gjb (doc committer)
Date: Mon Oct 10 11:05:58 2011
New Revision: 226187
URL: http://svn.freebsd.org/changeset/base/226187
Log:
MFC r225857:
- Fix a few grammar and mdoc nits in script.1
PR: 161088
Approved by: re (kib)
Modified:
stable/9/usr.bin/script/script.1
Di
Author: gjb (doc committer)
Date: Mon Oct 10 11:06:48 2011
New Revision: 226188
URL: http://svn.freebsd.org/changeset/base/226188
Log:
MFC r225857:
- Fix a few grammar and mdoc nits in script.1
PR: 161088
Modified:
stable/8/usr.bin/script/script.1
Directory Properties:
sta
Author: gjb (doc committer)
Date: Mon Oct 10 11:07:36 2011
New Revision: 226189
URL: http://svn.freebsd.org/changeset/base/226189
Log:
MFC r225857:
- Fix a few grammar and mdoc nits in script.1
PR: 161088
Modified:
stable/7/usr.bin/script/script.1
Directory Properties:
sta
Author: gjb (doc committer)
Date: Mon Oct 10 11:11:05 2011
New Revision: 226190
URL: http://svn.freebsd.org/changeset/base/226190
Log:
MFC 225908, 225912, 225927:
225908:
- Reorder default ps(1) output according to reality.
225912:
- there's no reason the semantics of the -x flag a
Author: gjb (doc committer)
Date: Mon Oct 10 11:11:59 2011
New Revision: 226191
URL: http://svn.freebsd.org/changeset/base/226191
Log:
MFC 225908, 225912, 225927:
225908:
- Reorder default ps(1) output according to reality.
225912:
- there's no reason the semantics of the -x flag a
Author: gjb (doc committer)
Date: Mon Oct 10 11:12:40 2011
New Revision: 226192
URL: http://svn.freebsd.org/changeset/base/226192
Log:
MFC 225908, 225912, 225927:
225908:
- Reorder default ps(1) output according to reality.
225912:
- there's no reason the semantics of the -x flag a
Author: gjb (doc committer)
Date: Mon Oct 10 11:14:03 2011
New Revision: 226193
URL: http://svn.freebsd.org/changeset/base/226193
Log:
MFC r225858, 225859, 226172:
225858:
- Document and provide an example for PORTS_MODULES [1]
225859:
- Whitespace cleanup
226172:
- Bump
Author: gjb (doc committer)
Date: Mon Oct 10 11:14:44 2011
New Revision: 226194
URL: http://svn.freebsd.org/changeset/base/226194
Log:
MFC r225858, 225859, 226172:
225858:
- Document and provide an example for PORTS_MODULES [1]
225859:
- Whitespace cleanup
226172:
- Bump
Author: gjb (doc committer)
Date: Mon Oct 10 11:15:57 2011
New Revision: 226195
URL: http://svn.freebsd.org/changeset/base/226195
Log:
MFC r225858, 225859, 226172:
225858:
- Document and provide an example for PORTS_MODULES [1]
225859:
- Whitespace cleanup
226172:
- Bump
Author: gjb (doc committer)
Date: Mon Oct 10 11:23:19 2011
New Revision: 226196
URL: http://svn.freebsd.org/changeset/base/226196
Log:
Pull mergeinfo up to the directory.
Modified:
Directory Properties:
stable/8/share/man/man7/ (props changed)
stable/8/share/man/man7/ports.7 (props chan
Author: gjb (doc committer)
Date: Mon Oct 10 11:23:48 2011
New Revision: 226197
URL: http://svn.freebsd.org/changeset/base/226197
Log:
Pull mergeinfo up to the directory.
Modified:
Directory Properties:
stable/7/share/man/man7/ (props changed)
stable/7/share/man/man7/ports.7 (props chan
Author: brueffer
Date: Mon Oct 10 12:06:36 2011
New Revision: 226198
URL: http://svn.freebsd.org/changeset/base/226198
Log:
MFC: r225560
Minor spelling, wording and punctuation fixes in comments.
Modified:
stable/8/etc/network.subr
Directory Properties:
stable/8/etc/ (props changed)
Author: kib
Date: Mon Oct 10 12:07:04 2011
New Revision: 226199
URL: http://svn.freebsd.org/changeset/base/226199
Log:
MFC r225894:
The sigwait(3) function shall not return EINTR, according to the
POSIX/SUSvN. The sigwait(2) syscall does return EINTR, and libc.so.7
contains the wrapper sig
Author: brueffer
Date: Mon Oct 10 12:15:10 2011
New Revision: 226200
URL: http://svn.freebsd.org/changeset/base/226200
Log:
MFC: r225560
Minor spelling, wording and punctuation fixes in comments.
Modified:
stable/7/etc/network.subr
Directory Properties:
stable/7/etc/ (props changed)
Author: brueffer
Date: Mon Oct 10 12:16:45 2011
New Revision: 226201
URL: http://svn.freebsd.org/changeset/base/226201
Log:
MFC:
One hunk missed during the merge of r225560 (spelling fixes in comments).
Modified:
stable/8/etc/network.subr
Modified: stable/8/etc/network.subr
Author: kib
Date: Mon Oct 10 12:27:40 2011
New Revision: 226202
URL: http://svn.freebsd.org/changeset/base/226202
Log:
MFC r225942:
Assert that exiting process does not return to usermode.
Approved by: re (bz)
Modified:
stable/9/sys/kern/subr_trap.c
Directory Properties:
stable/9/sy
Author: tuexen
Date: Mon Oct 10 12:28:47 2011
New Revision: 226203
URL: http://svn.freebsd.org/changeset/base/226203
Log:
When moving an stcb to a new inp and we copy over the list of
bound addresses, update the last used address pointer.
If not, it might result in a crash if the old inp goe
Author: kib
Date: Mon Oct 10 12:30:16 2011
New Revision: 226204
URL: http://svn.freebsd.org/changeset/base/226204
Log:
MFC r225943:
Do not allow the kernel to access usermode pages without installed
fault handler. Panic immediately in such situation, on i386 and amd64.
Approved by: re
Author: kib
Date: Mon Oct 10 13:03:14 2011
New Revision: 226205
URL: http://svn.freebsd.org/changeset/base/226205
Log:
MFC r225894:
The sigwait(3) function shall not return EINTR, according to the
POSIX/SUSvN. The sigwait(2) syscall does return EINTR, and libc.so.7
contains the wrapper sig
Author: kib
Date: Mon Oct 10 13:16:39 2011
New Revision: 226206
URL: http://svn.freebsd.org/changeset/base/226206
Log:
MFC r225942:
Assert that exiting process does not return to usermode.
Modified:
stable/8/sys/kern/subr_trap.c
Directory Properties:
stable/8/sys/ (props changed)
stab
Author: kib
Date: Mon Oct 10 13:18:55 2011
New Revision: 226207
URL: http://svn.freebsd.org/changeset/base/226207
Log:
MFC r225943:
Do not allow the kernel to access usermode pages without installed
fault handler. Panic immediately in such situation, on i386 and amd64.
Modified:
stable/8/
Author: kib
Date: Mon Oct 10 13:26:53 2011
New Revision: 226208
URL: http://svn.freebsd.org/changeset/base/226208
Log:
Do not ignore block offsets.
PR: kern/160943
Submitted by: Craig Boston
Reviewed by: Danny Braniss
MFC after:1 week
Modified:
head/sys/dev/iscsi/initiator
Author: rmacklem
Date: Mon Oct 10 13:51:21 2011
New Revision: 226209
URL: http://svn.freebsd.org/changeset/base/226209
Log:
MFC: r226081, r226104
A crash reported on freebsd-fs@ on Sep. 23, 2011 under the subject
heading "kernel panics with RPCSEC_GSS" appears to be caused by a
corrupted t
Author: nwhitehorn
Date: Mon Oct 10 13:57:35 2011
New Revision: 226210
URL: http://svn.freebsd.org/changeset/base/226210
Log:
MFC r226058:
Ask if you want to set the keymap before invoking kdbmap to prevent
confusion.
PR: bin/160913
Approved by: re (kib)
Modified:
stable
Author: nwhitehorn
Date: Mon Oct 10 13:58:33 2011
New Revision: 226211
URL: http://svn.freebsd.org/changeset/base/226211
Log:
MFC r226059:
Move "Exit" to the first entry in the list, so that it is the default
choice.
PR: bin/160913
Approved by: re (kib)
Modified:
stable/
Author: nwhitehorn
Date: Mon Oct 10 13:59:33 2011
New Revision: 226212
URL: http://svn.freebsd.org/changeset/base/226212
Log:
MFC r226083:
Work around some behavior of gpart that I absolutely do not understand in
order to make every operation of the partition editor fully revertable.
Under
Author: rmacklem
Date: Mon Oct 10 14:35:26 2011
New Revision: 226213
URL: http://svn.freebsd.org/changeset/base/226213
Log:
MFC: r226081, r226104
A crash reported on freebsd-fs@ on Sep. 23, 2011 under the subject
heading "kernel panics with RPCSEC_GSS" appears to be caused by a
corrupted t
Author: kib
Date: Mon Oct 10 14:46:40 2011
New Revision: 226214
URL: http://svn.freebsd.org/changeset/base/226214
Log:
MFC r226155:
Setting up TLS block for the main thread must be done after the
relocations are processed.
Approved by: re (bz)
Modified:
stable/9/libexec/rtld-elf/rtl
Author: kib
Date: Mon Oct 10 14:48:18 2011
New Revision: 226215
URL: http://svn.freebsd.org/changeset/base/226215
Log:
MFC r226156:
Handle the R_386_TLS_TPOFF32 relocation.
Approved by: re (bz)
Modified:
stable/9/libexec/rtld-elf/i386/reloc.c
Directory Properties:
stable/9/libexec/r
Hi,
On 2011-10-08, Dag-Erling Smorgrav wrote:
> Fix casting.
>
> Modified: head/usr.bin/kdump/kdump.c
> ==
> --- head/usr.bin/kdump/kdump.cSat Oct 8 12:10:16 2011
> (r226150)
> +++ head/usr.bin/kdump/k
Author: das
Date: Mon Oct 10 15:39:29 2011
New Revision: 226216
URL: http://svn.freebsd.org/changeset/base/226216
Log:
Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests
for particular compiler features might be evaluated differently by
mkdep than they would be by cc.
Mod
Author: das
Date: Mon Oct 10 15:42:33 2011
New Revision: 226217
URL: http://svn.freebsd.org/changeset/base/226217
Log:
Add a FBSD_1.3 namespace for FreeBSD 10.
Modified:
head/lib/libc/Versions.def
Modified: head/lib/libc/Versions.def
==
Author: das
Date: Mon Oct 10 15:43:09 2011
New Revision: 226218
URL: http://svn.freebsd.org/changeset/base/226218
Log:
Provide external definitions of all of the standardized functions in
fenv.h that are currently inlined.
The definitions are provided in fenv.c via 'extern inline'
decla
Author: hselasky
Date: Mon Oct 10 15:54:44 2011
New Revision: 226219
URL: http://svn.freebsd.org/changeset/base/226219
Log:
Bugfix: The ucom detach function is sometimes called on zeroed structures.
Check for this case and just return, so that the UCOM unit number zero is
not accidentially f
Author: hselasky
Date: Mon Oct 10 16:13:33 2011
New Revision: 226220
URL: http://svn.freebsd.org/changeset/base/226220
Log:
Fix how libusb20_dev_kernel_driver_active() and
libusb_dev_kernel_driver_active() works. In case of
libusb20 the manpage was wrong and in case of
libusb10 the impleme
Author: hselasky
Date: Mon Oct 10 16:26:06 2011
New Revision: 226221
URL: http://svn.freebsd.org/changeset/base/226221
Log:
Add USB mass storage quirk for device that emits errors after the automatic
no synchronize cache detection.
Submitted by: Scott Allendorf
MFC after:3 days
Mod
Author: tuexen
Date: Mon Oct 10 16:31:18 2011
New Revision: 226222
URL: http://svn.freebsd.org/changeset/base/226222
Log:
Get struct sctp_net_route in tune with struct route.
struct route was changed in
http://svn.freebsd.org/changeset/base/225698
and since then SCTP support was broken.
On 10. Oct 2011, at 08:44 , Qing Li wrote:
Hey,
> Okay, now I know what's confusing you ... it's that bug I introduced :-)
>
> The 2nd "if()" check on the RTF_GATEWAY flag should have been
> an "else if()".
>
> In a nutshell, the logic is any indirect route should fail the check,
> except for t
On Mon, 10 Oct 2011, David Schultz wrote:
Log:
Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests
for particular compiler features might be evaluated differently by
mkdep than they would be by cc.
Same with -ansi and -pedantic and any other spellings of -std=.
Bruce
Author: brueffer
Date: Mon Oct 10 17:39:58 2011
New Revision: 226223
URL: http://svn.freebsd.org/changeset/base/226223
Log:
MFC: r198329
Check pointer for NULL before dereferencing it, not after.
Modified:
stable/7/sys/dev/ips/ips_disk.c
Directory Properties:
stable/7/sys/ (props cha
Author: qingli
Date: Mon Oct 10 17:41:11 2011
New Revision: 226224
URL: http://svn.freebsd.org/changeset/base/226224
Log:
All indirect routes will fail the rtcheck, except for a special host
route where the destination IP and the gateway IP is the same. This
special case handling is only mea
On Mon, Oct 10, 2011 at 03:39:29PM +, David Schultz wrote:
> Author: das
> Date: Mon Oct 10 15:39:29 2011
> New Revision: 226216
> URL: http://svn.freebsd.org/changeset/base/226216
>
> Log:
> Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests
> for particular compiler fe
Author: brueffer
Date: Mon Oct 10 17:53:06 2011
New Revision: 226225
URL: http://svn.freebsd.org/changeset/base/226225
Log:
MFC: r198358
Check pointer for NULL before dereferencing it, not after.
Modified:
stable/8/sys/dev/ppbus/lpt.c
stable/8/sys/dev/ppbus/pcfclock.c
Directory Propert
Author: brueffer
Date: Mon Oct 10 18:18:40 2011
New Revision: 226226
URL: http://svn.freebsd.org/changeset/base/226226
Log:
MFC: r198357
Check pointer for NULL before dereferencing it, not after.
Modified:
stable/8/sys/net/if_gif.c
Directory Properties:
stable/8/sys/ (props changed)
Author: brueffer
Date: Mon Oct 10 18:20:36 2011
New Revision: 226227
URL: http://svn.freebsd.org/changeset/base/226227
Log:
MFC: r198357
Check pointer for NULL before dereferencing it, not after.
Modified:
stable/7/sys/net/if_gif.c
Directory Properties:
stable/7/sys/ (props changed)
Author: andre
Date: Mon Oct 10 18:26:23 2011
New Revision: 226228
URL: http://svn.freebsd.org/changeset/base/226228
Log:
MFC r226113:
Prevent TCP sessions from stalling indefinitely in reassembly
when reaching the zone limit of reassembly queue entries.
Approved by: re (kib)
Modif
Author: jkim
Date: Mon Oct 10 19:07:55 2011
New Revision: 226229
URL: http://svn.freebsd.org/changeset/base/226229
Log:
MFC: r226029
Add strnlen() to libkern.
Approved by: re (kib)
Added:
stable/9/sys/libkern/strnlen.c
- copied unchanged from r226029, head/sys/libkern/strnlen
On 10/09/2011 23:37, Xin LI wrote:
> Log:
> Incorporate recent changes from NetBSD. Most notable change is the addition
> of support of decompressing xz files.
Why? Don't we already have xz in the base?
--
Nothin' ever doesn't change, but nothin' changes much.
Author: qingli
Date: Mon Oct 10 19:41:00 2011
New Revision: 226230
URL: http://svn.freebsd.org/changeset/base/226230
Log:
MFC 225946
This patch allows ARP to work properly in the presence of
self-referencing routes. This patch is a rework of r223862.
Reviewed by: bz, zec
Modified:
Author: jkim
Date: Mon Oct 10 19:54:50 2011
New Revision: 226231
URL: http://svn.freebsd.org/changeset/base/226231
Log:
MFC: r226068, r226069, r226071, r226072, r226073, r226074, r226078, r226079
- Unroll inlined strnlen(9) and make it easier to read.
- Inline do_sa_get() function and re
On 10/10/2011 13:05, Xin LI wrote:
> On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote:
>> On 10/09/2011 23:37, Xin LI wrote:
>>> Log:
>>> Incorporate recent changes from NetBSD. Most notable change is the
>>> addition
>>> of support of decompressing xz files.
>>
>> Why? Don't we already h
Qing,
On Mon, Oct 10, 2011 at 05:41:11PM +, Qing Li wrote:
Q> Author: qingli
Q> Date: Mon Oct 10 17:41:11 2011
Q> New Revision: 226224
Q> URL: http://svn.freebsd.org/changeset/base/226224
Q>
Q> Log:
Q> All indirect routes will fail the rtcheck, except for a special host
Q> route where t
On Mon, Oct 10, 2011 at 1:10 PM, Doug Barton wrote:
> On 10/10/2011 13:05, Xin LI wrote:
>> On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote:
>>> On 10/09/2011 23:37, Xin LI wrote:
Log:
Incorporate recent changes from NetBSD. Most notable change is the
addition
of sup
MFC 225946 is the original patch, 225947 messed up the logic a bit
while putting in the fix for another issue. 226224 is the fix to 225947,
which I will MFC tomorrow.
--Qing
2011/10/10 Gleb Smirnoff :
> Qing,
>
> On Mon, Oct 10, 2011 at 05:41:11PM +, Qing Li wrote:
> Q> Author: qingli
> Q>
On Mon, Oct 10, 2011 at 12:40 PM, Doug Barton wrote:
> On 10/09/2011 23:37, Xin LI wrote:
>> Log:
>> Incorporate recent changes from NetBSD. Most notable change is the
>> addition
>> of support of decompressing xz files.
>
> Why? Don't we already have xz in the base?
zless and friends rely
Author: qingli
Date: Mon Oct 10 20:54:20 2011
New Revision: 226232
URL: http://svn.freebsd.org/changeset/base/226232
Log:
MFC 225947
A system may have multiple physical interfaces, all of which are on the
same prefix. Since a single route entry is installed for the prefix
(without RADIX
Author: trasz
Date: Mon Oct 10 21:32:08 2011
New Revision: 226234
URL: http://svn.freebsd.org/changeset/base/226234
Log:
Make unionfs also clear VAPPEND when clearing VWRITE, since VAPPEND
is just a modifier for VWRITE.
Submitted by: rmacklem
Modified:
head/sys/fs/unionfs/union_vnops.c
Author: qingli
Date: Mon Oct 10 21:34:55 2011
New Revision: 226235
URL: http://svn.freebsd.org/changeset/base/226235
Log:
MFC 222143
The statically configured (permanent) ARP entries are removed when an
interface is brought down, even though the interface address is still
valid. This pa
Author: qingli
Date: Mon Oct 10 21:38:19 2011
New Revision: 226236
URL: http://svn.freebsd.org/changeset/base/226236
Log:
MFC 222438
Supply the LLE_STATIC flag bit to in_ifscurb() when scrubbing interface
address so that proper clean up will take place in the routing code.
This patch fi
Author: qingli
Date: Mon Oct 10 21:41:34 2011
New Revision: 226237
URL: http://svn.freebsd.org/changeset/base/226237
Log:
MFC 226114
Remove the reference held on the loopback route when the interface
address is being deleted. Only the last reference holder deletes the
loopback route. Al
Author: qingli
Date: Mon Oct 10 21:43:53 2011
New Revision: 226238
URL: http://svn.freebsd.org/changeset/base/226238
Log:
MFC 226120
Do not try removing an ARP entry associated with a given interface
address if that interface does not support ARP. Otherwise the
system will generate erro
Author: qingli
Date: Mon Oct 10 21:46:37 2011
New Revision: 226239
URL: http://svn.freebsd.org/changeset/base/226239
Log:
MFC 225223
When an interface address route is removed from the system, another
route with the same prefix is searched for as a replacement. The
current code did not
Author: qingli
Date: Mon Oct 10 21:48:40 2011
New Revision: 226240
URL: http://svn.freebsd.org/changeset/base/226240
Log:
MFC 226040
The IFA_RTSELF instead of the IFA_ROUTE flag should be checked to
determine if a loopback route should be installed for an interface
IPv6 address. Another
Author: qingli
Date: Mon Oct 10 21:54:19 2011
New Revision: 226241
URL: http://svn.freebsd.org/changeset/base/226241
Log:
MFC 225163
When the RADIX_MPATH kernel option is enabled, the RADIX_MPATH code tries
to find the first route node of an ECMP chain before executing the route
command
Author: thompsa
Date: Tue Oct 11 01:11:57 2011
New Revision: 226242
URL: http://svn.freebsd.org/changeset/base/226242
Log:
Fix build after TARGET_BIG_ENDIAN was nuked from orbit.
Modified:
head/tools/tools/nanobsd/gateworks/common
Modified: head/tools/tools/nanobsd/gateworks/common
=
Author: delphij
Date: Tue Oct 11 04:40:06 2011
New Revision: 226243
URL: http://svn.freebsd.org/changeset/base/226243
Log:
MFC r226026:
Add the 9750 SATA+SAS 6Gb/s RAID controller card driver, tws(4).
Many thanks for their contiued support to FreeBSD.
This is version 10.80.00.003 fro
Author: das
Date: Tue Oct 11 05:17:26 2011
New Revision: 226244
URL: http://svn.freebsd.org/changeset/base/226244
Log:
Also pass the -ansi flag through to mkdep (requested by bde), and fix
a cut-and-paste-o (noticed by rdivacky).
Modified:
head/share/mk/bsd.dep.mk
Modified: head/share/mk/b
Author: das
Date: Tue Oct 11 05:17:45 2011
New Revision: 226245
URL: http://svn.freebsd.org/changeset/base/226245
Log:
Refactor this code by introducing separate functions to handle the
extra-precision add and multiply operations. This simplifies future
work but shouldn't result in any funct
71 matches
Mail list logo