Author: kib
Date: Wed Oct 16 06:15:40 2013
New Revision: 256591
URL: http://svnweb.freebsd.org/changeset/base/256591
Log:
MFC r256213:
Do not try to flush device vnodes from the buffer allocation context.
Modified:
stable/9/sys/kern/vfs_bio.c
Directory Properties:
stable/9/sys/ (props c
Author: kib
Date: Wed Oct 16 06:13:08 2013
New Revision: 256590
URL: http://svnweb.freebsd.org/changeset/base/256590
Log:
MFC r256211:
Do not flush buffers when the v_object of the passed vnode does not
really belong to it.
Modified:
stable/9/sys/kern/vfs_subr.c
Directory Properties:
st
Author: kib
Date: Wed Oct 16 06:07:03 2013
New Revision: 256589
URL: http://svnweb.freebsd.org/changeset/base/256589
Log:
MFC r256209:
Reduce code duplication, introduce the getmaxfd() helper to calculate
the max filedescriptor index.
Modified:
stable/9/sys/kern/kern_descrip.c
Directory P
Author: glebius
Date: Wed Oct 16 05:02:01 2013
New Revision: 256587
URL: http://svnweb.freebsd.org/changeset/base/256587
Log:
For VIMAGE kernels store vnet in the struct task, and set vnet context
during task processing.
Reported & tested by: mm
Modified:
head/sys/kern/subr_taskqueue.c
Author: glebius
Date: Wed Oct 16 04:59:59 2013
New Revision: 256586
URL: http://svnweb.freebsd.org/changeset/base/256586
Log:
Rename Free() macro to R_Free(). This matches R_Malloc() and has much lower
probability to clash with other headers.
Submitted by: Eric van Gyzen
Modified:
hea
Author: adrian
Date: Wed Oct 16 04:22:26 2013
New Revision: 256585
URL: http://svnweb.freebsd.org/changeset/base/256585
Log:
Now that all of the on-chip switch and basic platform support is updated,
we can now add all the hardware bits for the DB120.
* arge0/argemdio0 is hooked up to an A
Author: adrian
Date: Wed Oct 16 04:16:54 2013
New Revision: 256584
URL: http://svnweb.freebsd.org/changeset/base/256584
Log:
Yes, this board has 128mb of RAM.
Modified:
head/sys/mips/conf/DB120
Modified: head/sys/mips/conf/DB120
===
Author: adrian
Date: Wed Oct 16 04:15:35 2013
New Revision: 256583
URL: http://svnweb.freebsd.org/changeset/base/256583
Log:
Add a big, big note to the vlan code that it needs to be taught
about the new VLAN options for the AR9340 and AR8327 chips.
Modified:
head/sys/dev/etherswitch/arswitc
Author: adrian
Date: Wed Oct 16 04:15:03 2013
New Revision: 256582
URL: http://svnweb.freebsd.org/changeset/base/256582
Log:
Add support for the AR9340 switch to the switch framework.
* Do the hardware setup in the right order!
* Modify/improve the chip probe check so it can actually
Author: jhibbits
Date: Wed Oct 16 04:11:42 2013
New Revision: 256581
URL: http://svnweb.freebsd.org/changeset/base/256581
Log:
Fix the Wii build, and remove an extraneous critical_enter().
Modified:
head/sys/powerpc/aim/interrupt.c
Modified: head/sys/powerpc/aim/interrupt.c
=
Author: adrian
Date: Wed Oct 16 04:10:28 2013
New Revision: 256580
URL: http://svnweb.freebsd.org/changeset/base/256580
Log:
Add AR9340 switch support to the build.
Modified:
head/sys/conf/files
Modified: head/sys/conf/files
===
Author: markj
Date: Wed Oct 16 03:37:22 2013
New Revision: 256579
URL: http://svnweb.freebsd.org/changeset/base/256579
Log:
Fix an inverted check for the master user in "camcontrol security -U".
Modified:
stable/8/sbin/camcontrol/camcontrol.c
Directory Properties:
stable/8/sbin/camcontrol/
Author: markj
Date: Wed Oct 16 03:37:02 2013
New Revision: 256578
URL: http://svnweb.freebsd.org/changeset/base/256578
Log:
Fix an inverted check for the master user in "camcontrol security -U".
Modified:
stable/9/sbin/camcontrol/camcontrol.c
Directory Properties:
stable/9/sbin/camcontrol/
Author: adrian
Date: Wed Oct 16 03:19:05 2013
New Revision: 256577
URL: http://svnweb.freebsd.org/changeset/base/256577
Log:
Prepare to link in the AR934x SoC switch support.
* Add an AR9340 switch version entry;
* Support the switch being connected via MII;
* Add a flag to note that a
Author: adrian
Date: Wed Oct 16 03:15:52 2013
New Revision: 256576
URL: http://svnweb.freebsd.org/changeset/base/256576
Log:
Initial commit of AR9340 switch SoC support.
This is just the chip initialisation code (for now.)
It's not linked into the main build as it requires a bunch of o
Author: adrian
Date: Wed Oct 16 03:11:18 2013
New Revision: 256575
URL: http://svnweb.freebsd.org/changeset/base/256575
Log:
Add in the platform specific quirks to get the AR934x SoC ethernet
up and running.
* The MAC FIFO configurations needed updating;
* Reset the MDIO block at the sa
Author: kevlo
Date: Wed Oct 16 02:55:31 2013
New Revision: 256574
URL: http://svnweb.freebsd.org/changeset/base/256574
Log:
Fix logic error. MPPE only accepts protocol numbers 0x21 through 0xFA.
PR: bin/175974
Modified:
head/usr.sbin/ppp/mppe.c
Modified: head/usr.sbin/ppp/mppe.c
Author: adrian
Date: Wed Oct 16 02:46:00 2013
New Revision: 256573
URL: http://svnweb.freebsd.org/changeset/base/256573
Log:
Add in a write barrier after each if_arge write.
Without correct barriers, this code just plain doesn't work on the
mips74k cores (specifically the AR9344.)
In
Author: adrian
Date: Wed Oct 16 02:10:35 2013
New Revision: 256572
URL: http://svnweb.freebsd.org/changeset/base/256572
Log:
Add bus space barriers to the AR71xx SPI code.
This is required for correct, stable operation on the MIPS74k SoCs
that are dual-issue, superscalar pipelines.
T
On Tue, Oct 15, 2013 at 02:52:45PM +, Justin Hibbits wrote:
> Author: jhibbits
> Date: Tue Oct 15 14:52:44 2013
> New Revision: 256542
> URL: http://svnweb.freebsd.org/changeset/base/256542
>
> Log:
> Move the PMC handling to the first level interrupt handler where it belongs.
> Also add t
Author: markj
Date: Wed Oct 16 01:39:26 2013
New Revision: 256571
URL: http://svnweb.freebsd.org/changeset/base/256571
Log:
Add a function, memstr, which can be used to convert a buffer of
null-separated strings to a single string. This can be used to print the
full arguments of a process us
Author: neel
Date: Wed Oct 16 00:58:47 2013
New Revision: 256570
URL: http://svnweb.freebsd.org/changeset/base/256570
Log:
Fix the witness warning that warned against calling uiomove() while holding
the 'vmmdev_mtx' in vmmdev_rw().
Rely on the 'si_threadcount' accounting to ensure that we
Author: emax
Date: Tue Oct 15 21:28:51 2013
New Revision: 256563
URL: http://svnweb.freebsd.org/changeset/base/256563
Log:
In the flowtable scanner, restart the scan at the last found position,
not at position 0. Changes the scanner from O(N^2) to O(N).
Submitted by: scottl
Obtained fr
Author: jhb
Date: Tue Oct 15 21:08:37 2013
New Revision: 256562
URL: http://svnweb.freebsd.org/changeset/base/256562
Log:
MFC 256293:
Sanitize the %eflags returned by BIOS routines. Some BIOS routines enter
protected mode and may leave protected-mode-specific flags like PSL_NT set
when th
Author: delphij
Date: Tue Oct 15 21:04:46 2013
New Revision: 256561
URL: http://svnweb.freebsd.org/changeset/base/256561
Log:
Prevent an unlikely, but real double free issue in gvinum(8).
Coverity ID: 1018965
Modified:
head/sbin/gvinum/gvinum.c
Modified: head/sbin/gvinum/gvinum.c
==
Author: delphij
Date: Tue Oct 15 21:00:30 2013
New Revision: 256558
URL: http://svnweb.freebsd.org/changeset/base/256558
Log:
Turn releng/9.2 over to secteam.
Approved by: re (gjb)
Modified:
svnadmin/conf/approvers
Modified: svnadmin/conf/approvers
=
Author: peter
Date: Tue Oct 15 20:57:40 2013
New Revision: 256557
URL: http://svnweb.freebsd.org/changeset/base/256557
Log:
Add -K (__FreeBSD_version of kernel) and -U (__FreeBSD_version of userland).
Things like Makefile.inc1 resort to parsing /usr/include/osreldate.h with
awk because this
Author: tuexen
Date: Tue Oct 15 20:21:27 2013
New Revision: 256556
URL: http://svnweb.freebsd.org/changeset/base/256556
Log:
Remove a buggy comparision when setting manually the path MTU.
After fixing, the comparision would have become redundant.
Thanks to Andrew Galante for reporting the is
Author: andreast
Date: Tue Oct 15 18:59:32 2013
New Revision: 256555
URL: http://svnweb.freebsd.org/changeset/base/256555
Log:
Move the resource allocation from the ata_*_probe section to the ata_*_attach
section. This prevents a boot crash on nearly all iMacs and PowerMacs/Books.
The all
On Tue, Oct 15, 2013 at 05:59:42PM +, Alexander Motin wrote:
A> Author: mav
A> Date: Tue Oct 15 17:59:41 2013
A> New Revision: 256552
A> URL: http://svnweb.freebsd.org/changeset/base/256552
A>
A> Log:
A> Unify periph invalidation and destruction reporting.
A> Print message containing devic
Author: dteske
Date: Tue Oct 15 18:06:33 2013
New Revision: 256553
URL: http://svnweb.freebsd.org/changeset/base/256553
Log:
Make ZFSBOOT_BEROOT_NAME be ROOT by default. This is what sysutils/beadm
and OpenSolaris/Illumos beadm use.
Remove /usr/local and /var/db/pkg datasets. Andriy Gapo
Author: mav
Date: Tue Oct 15 17:59:41 2013
New Revision: 256552
URL: http://svnweb.freebsd.org/changeset/base/256552
Log:
Unify periph invalidation and destruction reporting.
Print message containing device model and serial number on invalidation.
Requested by: glebius
MFC after:1
On Oct 15, 2013, at 10:53 AM, Allan Jude wrote:
> On 2013-10-15 13:26, Teske, Devin wrote:
>> On Oct 15, 2013, at 9:55 AM, Allan Jude wrote:
>>
>>> On 2013-10-15 12:43, Andriy Gapon wrote:
on 15/10/2013 19:32 Allan Jude said the following:
> Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and
Author: dteske
Date: Tue Oct 15 17:52:44 2013
New Revision: 256551
URL: http://svnweb.freebsd.org/changeset/base/256551
Log:
Bump .Dd date (should have been part of SVN r256549)
Modified:
head/usr.sbin/bsdinstall/bsdinstall.8
Modified: head/usr.sbin/bsdinstall/bsdinstall.8
==
On 2013-10-15 13:26, Teske, Devin wrote:
> On Oct 15, 2013, at 9:55 AM, Allan Jude wrote:
>
>> On 2013-10-15 12:43, Andriy Gapon wrote:
>>> on 15/10/2013 19:32 Allan Jude said the following:
Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and
/var/db/pkg datasets entir
On Oct 15, 2013, at 10:48 AM, Glen Barber wrote:
> On Tue, Oct 15, 2013 at 05:33:30PM +, Devin Teske wrote:
>> Author: dteske
>> Date: Tue Oct 15 17:33:30 2013
>> New Revision: 256549
>> URL: http://svnweb.freebsd.org/changeset/base/256549
>>
>> Log:
>> Man page updates to go along with SVN
On Tue, Oct 15, 2013 at 05:33:30PM +, Devin Teske wrote:
> Author: dteske
> Date: Tue Oct 15 17:33:30 2013
> New Revision: 256549
> URL: http://svnweb.freebsd.org/changeset/base/256549
>
> Log:
> Man page updates to go along with SVN r256343, introducing zfsboot.
>
> Modified:
> head/usr.
Author: melifaro
Date: Tue Oct 15 17:44:35 2013
New Revision: 256550
URL: http://svnweb.freebsd.org/changeset/base/256550
Log:
Improve locking model used to protect netgraph topology:
use rwlocks instead of mutexes on node traversal.
Reviewed by: glebius
Tested by:Eugene Grosbein
Author: dteske
Date: Tue Oct 15 17:33:30 2013
New Revision: 256549
URL: http://svnweb.freebsd.org/changeset/base/256549
Log:
Man page updates to go along with SVN r256343, introducing zfsboot.
Modified:
head/usr.sbin/bsdinstall/bsdinstall.8
Modified: head/usr.sbin/bsdinstall/bsdinstall.8
===
On Oct 15, 2013, at 9:55 AM, Allan Jude wrote:
> On 2013-10-15 12:43, Andriy Gapon wrote:
>> on 15/10/2013 19:32 Allan Jude said the following:
>>> Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and
>>> /var/db/pkg datasets entirely (so they become part of the BE). Based on
>
Author: hselasky
Date: Tue Oct 15 17:11:13 2013
New Revision: 256548
URL: http://svnweb.freebsd.org/changeset/base/256548
Log:
Correct programming of XXX_MAXP register. This register is 16-bit wide
and not 8-bit. Fix support for isochronous transfers in USB host mode.
Fix a whitespace while
On 2013-10-15 12:58, Adam McDougall wrote:
> On Tue, Oct 15, 2013 at 04:28:21PM +, Teske, Devin wrote:
>
> +: ${ZFSBOOT_GNOP_4K_FORCE_ALIGN:=1}
>
> >>> >
> >>> >
> >>> I believe this trick is no longer needed after r254591.
> >>>
> >
> > This may be the case, I am
Author: smh
Date: Tue Oct 15 17:03:02 2013
New Revision: 256547
URL: http://svnweb.freebsd.org/changeset/base/256547
Log:
Added 4K quirks for Corsair Neutron GTX SSD's
Modified:
head/sys/cam/ata/ata_da.c
head/sys/cam/scsi/scsi_da.c
Modified: head/sys/cam/ata/ata_da.c
==
On Tue, Oct 15, 2013 at 04:28:21PM +, Teske, Devin wrote:
+: ${ZFSBOOT_GNOP_4K_FORCE_ALIGN:=1}
>>> >
>>> >
>>> I believe this trick is no longer needed after r254591.
>>>
>
> This may be the case, I am not sure if r254591 'always' fixes the problem,
maybe someon
On 2013-10-15 12:43, Andriy Gapon wrote:
> on 15/10/2013 19:32 Allan Jude said the following:
>> Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and
>> /var/db/pkg datasets entirely (so they become part of the BE). Based on
>> IRC discussion with bdrewery and Shawn Webb
> I want
on 15/10/2013 19:32 Allan Jude said the following:
> Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and
> /var/db/pkg datasets entirely (so they become part of the BE). Based on
> IRC discussion with bdrewery and Shawn Webb
I want to note that a good implementation of BEs shou
On 2013-10-15 12:28, Teske, Devin wrote:
> On Oct 15, 2013, at 8:23 AM, Allan Jude wrote:
>
>> On 2013-10-15 11:00, Teske, Devin wrote:
>>> CC'ing Allan Jude for feedback (I didn't have a hand in the
>>> selection of those values)
>>>
>>> --
>>> Devin
>>>
>>>
>>> On Oct 15, 2013, at 7:50 AM, Bryan
On Oct 15, 2013, at 8:23 AM, Allan Jude wrote:
> On 2013-10-15 11:00, Teske, Devin wrote:
>> CC'ing Allan Jude for feedback (I didn't have a hand in the
>> selection of those values)
>>
>> --
>> Devin
>>
>>
>> On Oct 15, 2013, at 7:50 AM, Bryan Drewery wrote:
>>
>>
>>> >
>>> On Fri, Oct 11
Author: alfred
Date: Tue Oct 15 15:50:43 2013
New Revision: 256546
URL: http://svnweb.freebsd.org/changeset/base/256546
Log:
Fix __free_pages() in the linux shim.
__free_pages() is actaully supposed to take a "struct page *" not
an address.
Modified:
head/sys/ofed/include/linux/gfp.h
On 2013-10-15 11:00, Teske, Devin wrote:
> CC'ing Allan Jude for feedback (I didn't have a hand in the
> selection of those values)
> -- Devin On Oct 15, 2013, at 7:50 AM, Bryan Drewery wrote:
>> > On Fri, Oct 11, 2013 at 08:41:35PM +, Devin Teske wrote:
>>> >> Author: dteske
>>> >> Date: Fri O
Author: dteske
Date: Tue Oct 15 15:00:53 2013
New Revision: 256544
URL: http://svnweb.freebsd.org/changeset/base/256544
Log:
Fix SVN r256540: s/TMPETC/TMPBOOT/ for loader.conf(5) GELI entries.
Modified:
head/usr.sbin/bsdinstall/scripts/zfsboot
Modified: head/usr.sbin/bsdinstall/scripts/zfsbo
CC'ing Allan Jude for feedback (I didn't have a hand in the
selection of those values)
--
Devin
On Oct 15, 2013, at 7:50 AM, Bryan Drewery wrote:
> On Fri, Oct 11, 2013 at 08:41:35PM +, Devin Teske wrote:
>> Author: dteske
>> Date: Fri Oct 11 20:41:35 2013
>> New Revision: 256343
>> URL: ht
Author: jhibbits
Date: Tue Oct 15 15:00:29 2013
New Revision: 256543
URL: http://svnweb.freebsd.org/changeset/base/256543
Log:
Add fasttrap for PowerPC. This is the last piece of the dtrace/ppc puzzle.
It's incomplete, it doesn't contain full instruction emulation, but it should
be
suffici
On Fri, Oct 11, 2013 at 08:41:35PM +, Devin Teske wrote:
> Author: dteske
> Date: Fri Oct 11 20:41:35 2013
> New Revision: 256343
> URL: http://svnweb.freebsd.org/changeset/base/256343
>
> Log:
> Add zfsboot module as an option for automatic configuration. Default is
> to run interactively
Author: jhibbits
Date: Tue Oct 15 14:52:44 2013
New Revision: 256542
URL: http://svnweb.freebsd.org/changeset/base/256542
Log:
Move the PMC handling to the first level interrupt handler where it belongs.
Also add the pmc_hook use, to handle callchain tracing.
MFC after:1 week
Modifie
Author: dteske
Date: Tue Oct 15 14:46:37 2013
New Revision: 256541
URL: http://svnweb.freebsd.org/changeset/base/256541
Log:
Document BSDINSTALL_TMPBOOT environment variable introduced by SVN r256343.
Modified:
head/usr.sbin/bsdinstall/bsdinstall.8
Modified: head/usr.sbin/bsdinstall/bsdinsta
Author: dteske
Date: Tue Oct 15 14:18:15 2013
New Revision: 256540
URL: http://svnweb.freebsd.org/changeset/base/256540
Log:
gjb writes: when doing encrypted zfs install, loader.conf should be updated
so bootpool is imported after boot:
zpool_cache_load="YES"
zpool_cache_ty
On Tue, Oct 15, 2013 at 01:32:02PM +, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Tue Oct 15 13:32:01 2013
T> New Revision: 256537
T> URL: http://svnweb.freebsd.org/changeset/base/256537
T>
T> Log:
T> Make getutxent(3) more robust against bad utx.log files. Whenever we read
T> zeroe
Author: glebius
Date: Tue Oct 15 13:53:35 2013
New Revision: 256539
URL: http://svnweb.freebsd.org/changeset/base/256539
Log:
Revert r256514 for libkvm. It wasn't correct actually and breaks build.
Modified:
head/lib/libkvm/kvm_pcpu.c
Modified: head/lib/libkvm/kvm_pcpu.c
On Tue, 15 Oct 2013, Kevin Lo wrote:
Log:
Treat INADDR_NONE as uint32_t.
Reviewed by: glebius
Modified:
head/sys/netinet/in.h
Modified: head/sys/netinet/in.h
==
--- head/sys/netinet/in.h Tue Oct 15 06:38:
On Tue, Oct 15, 2013 at 12:59:40PM +, Alexander Motin wrote:
A> Author: mav
A> Date: Tue Oct 15 12:59:40 2013
A> New Revision: 256533
A> URL: http://svnweb.freebsd.org/changeset/base/256533
A>
A> Log:
A> Unhide "Serial Number" lines from bootverbose. That information may be
A> useful for
Author: glebius
Date: Tue Oct 15 13:32:01 2013
New Revision: 256537
URL: http://svnweb.freebsd.org/changeset/base/256537
Log:
Make getutxent(3) more robust against bad utx.log files. Whenever we read
zeroes, don't stop processing the file, but read until its end or valid
data.
In coll
Author: mav
Date: Tue Oct 15 12:59:40 2013
New Revision: 256533
URL: http://svnweb.freebsd.org/changeset/base/256533
Log:
Unhide "Serial Number" lines from bootverbose. That information may be
useful for system administration to have in hard copy (in logs) if one of
several devices suddenly
Author: glebius
Date: Tue Oct 15 11:37:57 2013
New Revision: 256525
URL: http://svnweb.freebsd.org/changeset/base/256525
Log:
- Utilize counter(9) to accumulate statistics on interface addresses. Add
four counters to struct ifaddr. This kills '+=' on a variables shared
between processors
Author: glebius
Date: Tue Oct 15 10:43:26 2013
New Revision: 256522
URL: http://svnweb.freebsd.org/changeset/base/256522
Log:
Push some defines under _KERNEL, improve styling and comments.
Modified:
head/sys/net/if_var.h
Modified: head/sys/net/if_var.h
===
Author: glebius
Date: Tue Oct 15 10:41:22 2013
New Revision: 256521
URL: http://svnweb.freebsd.org/changeset/base/256521
Log:
Remove ifa_mtx. It was used only in one place in kernel, and ifnet's
ifaddr lock can substitute it there.
Discussed with: melifaro, ae
Sponsored by: Netf
Author: glebius
Date: Tue Oct 15 10:31:42 2013
New Revision: 256519
URL: http://svnweb.freebsd.org/changeset/base/256519
Log:
Remove ifa_init() and provide ifa_alloc() that will allocate and setup
struct ifaddr internally.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Modified:
h
Author: glebius
Date: Tue Oct 15 10:19:24 2013
New Revision: 256518
URL: http://svnweb.freebsd.org/changeset/base/256518
Log:
Hide 'struct ifaddr' definition from userland. Two tools left that use it,
namely ipftest(1) and ifmcstat(1). These sniff structure definition using
_WANT_IFADDR de
Author: glebius
Date: Tue Oct 15 10:12:19 2013
New Revision: 256517
URL: http://svnweb.freebsd.org/changeset/base/256517
Log:
Remove unsigned < 0 check.
Modified:
head/sys/netinet6/ip6_output.c
Modified: head/sys/netinet6/ip6_output.c
=
Author: glebius
Date: Tue Oct 15 10:11:23 2013
New Revision: 256516
URL: http://svnweb.freebsd.org/changeset/base/256516
Log:
Remove useless check of ia6 against NULL, right after dereferencing it.
Modified:
head/sys/netinet6/ip6_input.c
Modified: head/sys/netinet6/ip6_input.c
==
Author: glebius
Date: Tue Oct 15 10:09:33 2013
New Revision: 256515
URL: http://svnweb.freebsd.org/changeset/base/256515
Log:
Now counter_u64_t is known to userland, thus remove hack from r253086.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Modified:
head/sys/netinet6/in6_var.h
Mo
Author: glebius
Date: Tue Oct 15 10:05:37 2013
New Revision: 256514
URL: http://svnweb.freebsd.org/changeset/base/256514
Log:
- While we are spreading the counter(9) across network stack, more userland
tools would need to know about the counter_u64_t type. Allow to include
sys/counter.h from
Author: glebius
Date: Tue Oct 15 09:55:07 2013
New Revision: 256512
URL: http://svnweb.freebsd.org/changeset/base/256512
Log:
Rewrite netstat/if.c to use getifaddrs(3) and getifmaddrs(3) instead of
libkvm digging in kernel memory. This is possible since r231506 made
getifaddrs(3) to supply
Author: kevlo
Date: Tue Oct 15 09:29:36 2013
New Revision: 256511
URL: http://svnweb.freebsd.org/changeset/base/256511
Log:
Remove unsigned comparison < 0
Found by: LLVM
Reviewed by: zbb
Modified:
head/sys/arm/mv/mv_localbus.c
Modified: head/sys/arm/mv/mv_localbus.c
=
Author: glebius
Date: Tue Oct 15 09:21:05 2013
New Revision: 256510
URL: http://svnweb.freebsd.org/changeset/base/256510
Log:
Remove obtained, but never used data.
Found by: gcc
Modified:
head/usr.bin/netstat/mbuf.c
Modified: head/usr.bin/netstat/mbuf.c
=
Author: kevlo
Date: Tue Oct 15 07:37:30 2013
New Revision: 256506
URL: http://svnweb.freebsd.org/changeset/base/256506
Log:
Use INADDR_NONE instead of -1 to check inet_addr() result.
Reviewed by: glebius
Modified:
head/sbin/nos-tun/nos-tun.c
head/usr.bin/rpcinfo/rpcinfo.c
head/usr.b
Author: kevlo
Date: Tue Oct 15 07:35:39 2013
New Revision: 256505
URL: http://svnweb.freebsd.org/changeset/base/256505
Log:
Treat INADDR_NONE as uint32_t.
Reviewed by: glebius
Modified:
head/sys/netinet/in.h
Modified: head/sys/netinet/in.h
==
77 matches
Mail list logo