Author: glebius
Date: Thu Sep 16 14:30:32 2010
New Revision: 212734
URL: http://svn.freebsd.org/changeset/base/212734
Log:
MFhead 210500:
Zero padding fields of netflow records. This helps to reduce
size of compressed export logs.
Requested by: Alexey Illarionov
Modified:
stab
Author: glebius
Date: Thu Sep 16 14:55:22 2010
New Revision: 212735
URL: http://svn.freebsd.org/changeset/base/212735
Log:
MFhead 210529:
When installing a new ARP entry via 'arp -S', lla_lookup() will
either find an existing entry, or allocate a new one. In the latter
case an entry
Author: glebius
Date: Thu Sep 16 15:00:43 2010
New Revision: 212736
URL: http://svn.freebsd.org/changeset/base/212736
Log:
MFhead 210533:
Don't check malloc(M_WAITOK) result.
Modified:
stable/8/sys/net/if_llatbl.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd6
Author: glebius
Date: Thu Sep 16 15:07:12 2010
New Revision: 212737
URL: http://svn.freebsd.org/changeset/base/212737
Log:
Although flexible BPF timestamping framework isn't yet merged to stable/8,
merge from head r209797,r209845 that fix a possible problem.
Modified:
stable/8/sys/netinet/i
Author: glebius
Date: Thu Sep 16 15:11:17 2010
New Revision: 212738
URL: http://svn.freebsd.org/changeset/base/212738
Log:
MFhead r210537:
Fix operation of "netgraph" action in conjunction with the
net.inet.ip.fw.one_pass sysctl.
PR: kern/148885
Submitted by: Nickola
Author: glebius
Date: Thu Sep 16 15:19:23 2010
New Revision: 212742
URL: http://svn.freebsd.org/changeset/base/212742
Log:
MFhead r210539:
Document that the "ngtee" action no longer accepts packet, and
thus don't depend on one_pass flag anymore.
This is a POLA violation, but it is
Author: glebius
Date: Thu Sep 16 15:22:33 2010
New Revision: 212746
URL: http://svn.freebsd.org/changeset/base/212746
Log:
MFhead 212256:
in_delayed_cksum() requires host byte order.
Reported by: Alexander Levin
Modified:
stable/8/sys/netinet/ipfw/ip_fw_nat.c
Directory Properties
Author: glebius
Date: Mon Sep 20 12:23:10 2010
New Revision: 212898
URL: http://svn.freebsd.org/changeset/base/212898
Log:
Do not convert some meaningful error value to EINVAL.
Reviewed by: will
Modified:
head/sys/netinet/ip_carp.c
Modified: head/sys/netinet/ip_carp.c
=
Author: glebius
Date: Wed Oct 6 14:29:00 2010
New Revision: 213480
URL: http://svn.freebsd.org/changeset/base/213480
Log:
Add support to Alcatel/TCTMobile X080S USB 3G modem. The device needs
special eject command to reappear as modem. It also requires DIR_IN flag
in the command message, so
Author: glebius
Date: Wed Oct 6 14:29:50 2010
New Revision: 213481
URL: http://svn.freebsd.org/changeset/base/213481
Log:
Remove extra assignment.
Modified:
head/sys/dev/usb/usb_msctest.c
Modified: head/sys/dev/usb/usb_msctest.c
==
Author: glebius
Date: Tue Oct 12 09:41:42 2010
New Revision: 213717
URL: http://svn.freebsd.org/changeset/base/213717
Log:
We already have dummy receive buffer in sc->buffer.
Suggested by: hselasky
Modified:
head/sys/dev/usb/usb_msctest.c
Modified: head/sys/dev/usb/usb_msctest.c
===
Author: glebius
Date: Thu Oct 14 11:20:23 2010
New Revision: 213831
URL: http://svn.freebsd.org/changeset/base/213831
Log:
Enable the shared memory reference clock driver. The GPS devices are
getting more and more popular, as source of precise time, and the gpsd
daemon from ports is using th
Author: glebius
Date: Sun Oct 17 15:25:33 2010
New Revision: 213980
URL: http://svn.freebsd.org/changeset/base/213980
Log:
Merge 213831:
Enable the shared memory reference clock driver. The GPS devices are
getting more and more popular, as source of precise time, and the gpsd
daemon
Author: glebius
Date: Sun Oct 17 17:39:54 2010
New Revision: 213987
URL: http://svn.freebsd.org/changeset/base/213987
Log:
Merge from head 213480,213481,213717:
Add support to Alcatel/TCTMobile X080S USB 3G modem. The device needs
special eject command to reappear as modem. It also re
Author: glebius
Date: Mon Oct 18 07:28:53 2010
New Revision: 214011
URL: http://svn.freebsd.org/changeset/base/214011
Log:
Log if fopen() fails.
Reviewed by: brian
Modified:
head/usr.sbin/ppp/ipcp.c
Modified: head/usr.sbin/ppp/ipcp.c
Author: glebius
Date: Thu Oct 21 17:05:15 2010
New Revision: 214137
URL: http://svn.freebsd.org/changeset/base/214137
Log:
Make it possible to read input from stdin.
Without this change I don't see a way to
unpack a multivolume archive without wasting
disk space for a temporary file.
M
Author: glebius
Date: Thu Oct 21 17:23:09 2010
New Revision: 214140
URL: http://svn.freebsd.org/changeset/base/214140
Log:
Document possibility to read from stdin.
Modified:
head/usr.bin/unzip/unzip.1
Modified: head/usr.bin/unzip/unzip.1
==
Author: glebius
Date: Thu Oct 21 20:22:00 2010
New Revision: 214174
URL: http://svn.freebsd.org/changeset/base/214174
Log:
Fix typo in last commit.
Submitted by: bcr
Modified:
head/usr.bin/unzip/unzip.1
Modified: head/usr.bin/unzip/unzip.1
===
Author: glebius
Date: Fri Oct 29 10:57:18 2010
New Revision: 214508
URL: http://svn.freebsd.org/changeset/base/214508
Log:
Revert a small part of the r198301, that is entirely unrelated to the
r198301 itself. It also broke the logic of not sending more than one
ARP request per second, that c
Author: glebius
Date: Fri Oct 29 11:13:42 2010
New Revision: 214509
URL: http://svn.freebsd.org/changeset/base/214509
Log:
Remove meaningless X, that is a remain of comment, removed in r186200.
Modified:
head/sys/netinet/if_ether.c
Modified: head/sys/netinet/if_ether.c
==
Author: glebius
Date: Sat Nov 19 19:06:08 2011
New Revision: 227738
URL: http://svn.freebsd.org/changeset/base/227738
Log:
For unknown reason, since rev 1.1 of ifconfig.c, sin_family isn't
set properly for the mask argument.
Since I'd like to improve argument sanity checking in kernel
s
Author: glebius
Date: Mon Nov 21 12:07:18 2011
New Revision: 227785
URL: http://svn.freebsd.org/changeset/base/227785
Log:
- Reduce severity for all ARP events, that can be triggered from remote
machine to LOG_NOTICE. Exception left to "using my IP address".
- Fix multicast ARP warning: ad
Author: glebius
Date: Mon Nov 21 12:23:22 2011
New Revision: 227787
URL: http://svn.freebsd.org/changeset/base/227787
Log:
Better use pkill(1) in last commit.
Submitted by: pjd
Modified:
head/etc/rc.resume
Modified: head/etc/rc.resume
Author: glebius
Date: Mon Nov 21 13:40:35 2011
New Revision: 227790
URL: http://svn.freebsd.org/changeset/base/227790
Log:
Be more informative for "unknown hardware address format" message.
Submitted by: Andrzej Tobola
Modified:
head/sys/netinet/if_ether.c
Modified: head/sys/netinet/if
Author: glebius
Date: Mon Nov 21 14:10:13 2011
New Revision: 227791
URL: http://svn.freebsd.org/changeset/base/227791
Log:
Historically in_control() did not check sockaddrs supplied with
structs ifreq/in_aliasreq and there've been several panics due
to that problem. All these panics were fix
Q> "if_ioctl()" is
Q> intended for as part of the address configuration logic ?
Because in_ifinit() was inconsistent. It tried to recover in case
of (*ifp->if_ioctl) failure, but did not try to recover in case
of failure of:
in_addprefix()
ifa_add_loopback_route()
Q> --Qing
Author: glebius
Date: Mon Nov 21 20:07:12 2011
New Revision: 227801
URL: http://svn.freebsd.org/changeset/base/227801
Log:
This check isn't needed now, sanity checking done in the beginning.
Missed it in last commit.
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
=
Qing,
first I'd like to notice that we are speaking about obsoleted interfaces.
This should be taken into account during all the discussion. We shouldn't
make code more complex in favor to make obsoleted interfaces more smart.
1) Scrubbing in in_ifinit() is done only in case of SIOCSIFADDR. T
Author: glebius
Date: Tue Nov 22 19:37:57 2011
New Revision: 227830
URL: http://svn.freebsd.org/changeset/base/227830
Log:
Fix SIOCDIFADDR semantics: if no address is specified, then delete first one.
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
===
Author: glebius
Date: Tue Nov 22 19:39:27 2011
New Revision: 227831
URL: http://svn.freebsd.org/changeset/base/227831
Log:
style(9) nit
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
==
--- head/sys/
Author: glebius
Date: Tue Nov 22 19:42:17 2011
New Revision: 227832
URL: http://svn.freebsd.org/changeset/base/227832
Log:
Improve logging:
- don't hardcode function name
- use LOG_DEBUG for such a debug message
- print error value
Modified:
head/sys/net/if.c
Modified: head/sys/net/if.
On Wed, Nov 23, 2011 at 06:53:05AM -0800, Qing Li wrote:
Q> > first I'd like to notice that we are speaking about obsoleted interfaces.
Q>
Q> Yup, that's why you don't see me commenting on your other commits around
Q> ia_netmask stuff, do you ?
Oops, I didn't notice that one. Sorry! Can you plea
Author: glebius
Date: Wed Nov 23 18:38:08 2011
New Revision: 227901
URL: http://svn.freebsd.org/changeset/base/227901
Log:
Fix parsing of redirect_addr argument.
PR: kern/162739
MFC after:3 days
Modified:
head/sbin/ipfw/nat.c
Modified: head/sbin/ipfw/nat.c
==
Author: glebius
Date: Thu Nov 24 22:43:48 2011
New Revision: 227958
URL: http://svn.freebsd.org/changeset/base/227958
Log:
Fix stupid typo in r227830.
PR: 162806
Pointy hat to:glebius
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
===
Author: glebius
Date: Thu Nov 24 22:46:11 2011
New Revision: 227959
URL: http://svn.freebsd.org/changeset/base/227959
Log:
Remove superfluous check: SIOCAIFADDR must have ifra_addr supplied.
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
=
Author: glebius
Date: Mon Nov 28 08:10:12 2011
New Revision: 228050
URL: http://svn.freebsd.org/changeset/base/228050
Log:
Fix build, fininshing r228018.
Modified:
head/sys/mips/atheros/if_arge.c
Modified: head/sys/mips/atheros/if_arge.c
==
Author: glebius
Date: Mon Nov 28 08:12:37 2011
New Revision: 228051
URL: http://svn.freebsd.org/changeset/base/228051
Log:
MFhead r227901:
Fix parsing of redirect_addr argument.
PR: kern/162739
Approved by: re (kib)
Modified:
stable/9/sbin/ipfw/nat.c
Directory Properties:
Author: glebius
Date: Mon Nov 28 08:14:59 2011
New Revision: 228052
URL: http://svn.freebsd.org/changeset/base/228052
Log:
MFhead r227901:
Fix parsing of redirect_addr argument.
PR: kern/162739
Approved by: re (kib)
Modified:
releng/9.0/sbin/ipfw/nat.c
Directory Properties
Author: glebius
Date: Mon Nov 28 08:16:00 2011
New Revision: 228053
URL: http://svn.freebsd.org/changeset/base/228053
Log:
MFhead r227901:
Fix parsing of redirect_addr argument.
PR: kern/162739
Modified:
stable/8/sbin/ipfw/nat.c
Directory Properties:
stable/8/sbin/ipfw/ (props
Author: glebius
Date: Mon Nov 28 13:30:14 2011
New Revision: 228062
URL: http://svn.freebsd.org/changeset/base/228062
Log:
Fix one more fallout from r227791: do not overwrite trimmed sa_len
on the ia_sockmask when doing SIOCSIFNETMASK.
Reported by: Stefan Bethke , gonzo
Pointy hat to:
Author: glebius
Date: Mon Nov 28 14:44:59 2011
New Revision: 228071
URL: http://svn.freebsd.org/changeset/base/228071
Log:
- Use generic alloc_unr(9) allocator for if_clone, instead
of hand-made.
- When registering new cloner, check whether a cloner with
same name already exist.
- Wh
On Mon, Nov 28, 2011 at 07:47:22PM +, Bjoern A. Zeeb wrote:
B> On 28. Nov 2011, at 14:44 , Gleb Smirnoff wrote:
B>
B> > Author: glebius
B> > Date: Mon Nov 28 14:44:59 2011
B> > New Revision: 228071
B> > URL: http://svn.freebsd.org/changeset/base/228071
B>
On Mon, Nov 28, 2011 at 10:23:07PM +0200, Jaakko Heinonen wrote:
J> On 2011-11-28, Bjoern A. Zeeb wrote:
J> > > static void
J> > > if_clone_free(struct if_clone *ifc)
J> > > {
J> > > -for (int bytoff = 0; bytoff < ifc->ifc_bmlen; bytoff++) {
J> > > -KASSERT(ifc->ifc_units[by
On Tue, Nov 29, 2011 at 09:43:37AM +, Bjoern A. Zeeb wrote:
B> On Tue, 29 Nov 2011, Gleb Smirnoff wrote:
B> > btw, I don't like the static initializer of cloners, since it require
re-compile of
B> > dependencies.
B> >
B> > What about making an API change: r
Author: glebius
Date: Wed Nov 30 08:47:17 2011
New Revision: 228150
URL: http://svn.freebsd.org/changeset/base/228150
Log:
Return value should be conditional on return value of pfsync_defer_ptr()
PR: kern/162947
Submitted by: Matthieu Kraus
Modified:
head/sys/contrib/pf/net/
Author: glebius
Date: Thu Dec 1 15:15:12 2011
New Revision: 228182
URL: http://svn.freebsd.org/changeset/base/228182
Log:
MFhead r228150:
Return value should be conditional on return value of pfsync_defer_ptr()
PR: kern/162947
Submitted by: Matthieu Kraus
A
Author: glebius
Date: Thu Dec 1 15:20:36 2011
New Revision: 228183
URL: http://svn.freebsd.org/changeset/base/228183
Log:
MFhead r228150:
Return value should be conditional on return value of pfsync_defer_ptr()
PR: kern/162947
Submitted by: Matthieu Kraus
A
Author: glebius
Date: Tue Dec 6 20:55:20 2011
New Revision: 228313
URL: http://svn.freebsd.org/changeset/base/228313
Log:
Fix a very special case when SIOCAIFADDR supplies mask of 0.0.0.0,
don't overwrite the mask with autoguessing based on classes.
Modified:
head/sys/netinet/in.c
Modifie
Author: glebius
Date: Wed Dec 7 13:37:42 2011
New Revision: 228321
URL: http://svn.freebsd.org/changeset/base/228321
Log:
Fix double free.
PR: kern/163089
Submitted by: Herbie Robinson
Modified:
head/sys/netinet6/mld6.c
Modified: head/sys/netinet6/mld6.c
==
Author: glebius
Date: Tue Dec 13 06:56:43 2011
New Revision: 228454
URL: http://svn.freebsd.org/changeset/base/228454
Log:
Belatedly catch up with r151555. in_scrubprefix() also needs this fix. We
should compare not only addresses, but their masks, too, when searching
for matching prefix.
M
Author: glebius
Date: Tue Dec 13 07:02:48 2011
New Revision: 228455
URL: http://svn.freebsd.org/changeset/base/228455
Log:
Some cleanup of BOOTP code. Initially I wanted to just change the ifioctl()
usage, but end up with more changes.
- Use SIOCAIFADDR instead of old rusty SIOCSIFADDR, S
On Tue, Dec 13, 2011 at 08:23:03AM +, Ruslan Ermilov wrote:
R> Author: ru
R> Date: Tue Dec 13 08:23:03 2011
R> New Revision: 228457
R> URL: http://svn.freebsd.org/changeset/base/228457
R>
R> Log:
R> The "inet" keyword in the "ifconfig_IF_aliasN" is mandatory for
R> IPv4 aliases to work sin
Author: glebius
Date: Tue Dec 13 11:54:51 2011
New Revision: 228463
URL: http://svn.freebsd.org/changeset/base/228463
Log:
dhclient-script relied on incorrect behavior of SIOCAIFADDR ioctl,
that changed 0.0.0.0/0.0.0.0 prefix to 0.0.0.0/255.0.0.0.
In the r228313 this behavior was fixed, a
Author: glebius
Date: Tue Dec 13 14:36:04 2011
New Revision: 228472
URL: http://svn.freebsd.org/changeset/base/228472
Log:
Add compatibility support for specifing IPv4 aliases in
rc.conf without the "inet" keyword.
Obtained from:hrs
Modified:
head/etc/network.subr
Modified: he
nslated to the
.Xr errno 2
@@ -213,7 +249,7 @@ value
.Xr rtentry 9
.Sh HISTORY
The
-.Nm
+.Nm rtalloc
facility first appeared in
.Bx 4.2 ,
although with much different internals.
@@ -227,14 +263,11 @@ first appeared in
.Fx 2.0 .
Routing table locking was introduced in
.Fx 5.2 .
+Multiple r
Author: glebius
Date: Wed Dec 14 14:55:19 2011
New Revision: 228500
URL: http://svn.freebsd.org/changeset/base/228500
Log:
More MLINKS for rtalloc.9
Modified:
head/share/man/man9/Makefile
Modified: head/share/man/man9/Makefile
=
Author: glebius
Date: Thu Dec 15 11:15:23 2011
New Revision: 228527
URL: http://svn.freebsd.org/changeset/base/228527
Log:
Add RADIX_MPATH to LINT.
Modified:
head/sys/conf/NOTES
Modified: head/sys/conf/NOTES
==
--- h
Author: glebius
Date: Thu Dec 15 12:49:10 2011
New Revision: 228532
URL: http://svn.freebsd.org/changeset/base/228532
Log:
Simplify rtrequest(RTM_ADD): ifa can't be NULL after rt_getifa_fib().
Modified:
head/sys/net/route.c
Modified: head/sys/net/route.c
=
Peter,
On Fri, Dec 16, 2011 at 01:58:51PM +1100, Peter Jeremy wrote:
P> On 2011-Jun-28 11:57:25 +, "Bjoern A. Zeeb" wrote:
P> >Author: bz
P> >Date: Tue Jun 28 11:57:25 2011
P> >New Revision: 223637
P> >URL: http://svn.freebsd.org/changeset/base/223637
P> >
P> >Log:
P> > Update packet filte
Author: glebius
Date: Fri Dec 16 08:27:04 2011
New Revision: 228563
URL: http://svn.freebsd.org/changeset/base/228563
Log:
Fix my braino in description of RADIX_MPATH.
Modified:
head/sys/conf/NOTES
Modified: head/sys/conf/NOTES
Author: glebius
Date: Fri Dec 16 10:14:41 2011
New Revision: 228565
URL: http://svn.freebsd.org/changeset/base/228565
Log:
Xref re_format(7).
Modified:
head/sbin/devd/devd.8
Modified: head/sbin/devd/devd.8
==
--- hea
Author: glebius
Date: Fri Dec 16 10:21:01 2011
New Revision: 228566
URL: http://svn.freebsd.org/changeset/base/228566
Log:
Xref re_format(7) in devd.conf(5), not in devd(8).
Pointy hat to:glebius
Modified:
head/sbin/devd/devd.8
head/sbin/devd/devd.conf.5
Modified: head/sbin/de
12:16:56 2011
(r228571)
@@ -148,3 +148,6 @@ voidclone_setdefcallback(const char *,
* operations on ifmedia can avoid cmd line ordering confusion.
*/
struct ifmediareq *ifmedia_getstate(int s);
+
+void print_vhid(const struct ifaddrs *, const char *);
+
Modified: head/share/man/man4/carp.
Author: glebius
Date: Fri Dec 16 13:30:17 2011
New Revision: 228574
URL: http://svn.freebsd.org/changeset/base/228574
Log:
Since size of struct in_aliasreq has just been changed in r228571,
and thus ifconfig(8) needs recompile, it is a good chance to make
parameter checks on SIOCAIFADDR argu
Author: glebius
Date: Fri Dec 16 14:28:34 2011
New Revision: 228576
URL: http://svn.freebsd.org/changeset/base/228576
Log:
- Rename if_carp.ko to carp.ko.
- carp.ko depends on sha1.c
Added:
head/sys/modules/carp/
- copied from r228573, head/sys/modules/if_carp/
Deleted:
head/sys/modu
Author: glebius
Date: Fri Dec 16 14:30:58 2011
New Revision: 228577
URL: http://svn.freebsd.org/changeset/base/228577
Log:
Rename ifcarp.c to carp.c
Added:
head/sbin/ifconfig/carp.c
- copied unchanged from r228576, head/sbin/ifconfig/ifcarp.c
Deleted:
head/sbin/ifconfig/ifcarp.c
Modifi
Ben,
On Fri, Dec 16, 2011 at 12:08:17PM -0500, Ben Kaduk wrote:
B> Hi Gleb,
B>
B> Perhaps the man page portions that were commented out should just be
B> removed entirely?
They may be resurrected if arpbalancing is implemented again.
--
Totus tuus, Glebius.
__
Author: glebius
Date: Mon Dec 19 12:50:12 2011
New Revision: 228703
URL: http://svn.freebsd.org/changeset/base/228703
Log:
Remove if_carp.ko. /boot/kernel should be upgraded atomically.
Requested by: netchild, bz
Modified:
head/ObsoleteFiles.inc
Modified: head/ObsoleteFiles.inc
Author: glebius
Date: Mon Dec 19 13:12:37 2011
New Revision: 228705
URL: http://svn.freebsd.org/changeset/base/228705
Log:
Merge r228472. For the sake of POLA for the whole 9.x timeline add
compatibility support for specifing IPv4 aliases in rc.conf without
the "inet" keyword.
Approved
Author: glebius
Date: Mon Dec 19 13:14:57 2011
New Revision: 228706
URL: http://svn.freebsd.org/changeset/base/228706
Log:
Merge r228472. For the sake of POLA for the whole 9.x timeline add
compatibility support for specifing IPv4 aliases in rc.conf without
the "inet" keyword.
Approved
Author: glebius
Date: Tue Dec 20 12:34:16 2011
New Revision: 228732
URL: http://svn.freebsd.org/changeset/base/228732
Log:
- Cover pfsync callouts deletion with PF_LOCK().
- Cover setting up interface between pf and pfsync with PF_LOCK().
Modified:
head/sys/contrib/pf/net/if_pfsync.c
Modif
Author: glebius
Date: Tue Dec 20 13:32:56 2011
New Revision: 228734
URL: http://svn.freebsd.org/changeset/base/228734
Log:
- Fix examples to show new CARP style.
- Remove OpenBSDisms, add FreeBSDisms.
Modified:
head/contrib/pf/man/pfsync.4
Modified: head/contrib/pf/man/pfsync.4
===
Author: glebius
Date: Tue Dec 20 13:53:31 2011
New Revision: 228736
URL: http://svn.freebsd.org/changeset/base/228736
Log:
Restore a feature that was present in 5.x and 6.x, and was cleared in
7.x, 8.x and 9.x with pf(4) imports: pfsync(4) should suppress CARP
preemption, while it is running
Author: glebius
Date: Wed Dec 21 12:39:08 2011
New Revision: 228768
URL: http://svn.freebsd.org/changeset/base/228768
Log:
Provide ABI compatibility shim to enable configuring of addresses
with ifconfig(8) prior to r228571.
Requested by: brooks
Modified:
head/sys/net/if.h
head/sys/ne
Dag-Erling,
On Thu, Dec 22, 2011 at 06:10:15PM +, Dag-Erling Smorgrav wrote:
D> Author: des
D> Date: Thu Dec 22 18:10:15 2011
D> New Revision: 228809
D> URL: http://svn.freebsd.org/changeset/base/228809
D>
D> Log:
D> Merge upstream r509: don't log an error in the common case (ENOENT).
D>
Author: glebius
Date: Thu Dec 22 18:31:47 2011
New Revision: 228811
URL: http://svn.freebsd.org/changeset/base/228811
Log:
In FreeBSD we always have bpf(4) API, either real or stub. No need
in detecting presense of 'device bpf'.
Modified:
head/sys/contrib/pf/net/if_pfsync.c
head/sys/modul
On Thu, Dec 22, 2011 at 07:27:05PM +0100, Dag-Erling Sm??rgrav wrote:
D> Gleb Smirnoff writes:
D> > I haven't yet tested this, but code looks like it is not going to print
D> > anything in a case I don't have /usr/local/bin/pam_foo.so, while purpose
D> > of t
On Thu, Dec 22, 2011 at 07:33:30PM +0100, Dag-Erling Sm??rgrav wrote:
D> Actually, there is no good general solution, because the rtld does not
D> set errno. Here's what I came up with:
D>
D> Index: openpam_dynamic.c
D> ===
D> --- op
Author: glebius
Date: Thu Dec 22 18:48:21 2011
New Revision: 228812
URL: http://svn.freebsd.org/changeset/base/228812
Log:
Use a better log message for master down event.
Modified:
head/sys/netinet/ip_carp.c
Modified: head/sys/netinet/ip_carp.c
===
Author: glebius
Date: Thu Dec 22 18:51:35 2011
New Revision: 228813
URL: http://svn.freebsd.org/changeset/base/228813
Log:
We really mean MTU of the real interface here, not of our pseudo.
Modified:
head/sys/contrib/pf/net/if_pfsync.c
Modified: head/sys/contrib/pf/net/if_pfsync.c
===
Author: glebius
Date: Thu Dec 22 18:56:27 2011
New Revision: 228814
URL: http://svn.freebsd.org/changeset/base/228814
Log:
Merge couple more fixes from OpenBSD to bulk processing:
revision 1.118
date: 2009/03/23 06:19:59; author: dlg; state: Exp; lines: +8 -6
wait an appropriat
Author: glebius
Date: Thu Dec 22 19:05:58 2011
New Revision: 228815
URL: http://svn.freebsd.org/changeset/base/228815
Log:
Merge from OpenBSD:
revision 1.120
date: 2009/04/04 13:09:29; author: dlg; state: Exp; lines: +5 -5
use time_uptime instead of time_second internally. time_up
Author: glebius
Date: Thu Dec 22 19:09:55 2011
New Revision: 228816
URL: http://svn.freebsd.org/changeset/base/228816
Log:
Merge from OpenBSD:
revision 1.122
date: 2009/05/13 01:01:34; author: dlg; state: Exp; lines: +6 -4
only keep track of the number of updates on tcp connection
On Thu, Dec 22, 2011 at 08:34:29PM +0100, Dag-Erling Sm??rgrav wrote:
D> > > /*
D> > > @@ -124,7 +129,8 @@
D> > > dlclose(dlh);
D> > > FREE(module);
D> > > err:
D> > > -openpam_log(PAM_LOG_ERROR, "%m");
D> > > +if (errno != 0)
D> > > +open
On Thu, Dec 22, 2011 at 11:50:53PM +0400, Gleb Smirnoff wrote:
T> Here is my variant attached.
Sorry, this one is correct.
--
Totus tuus, Glebius.
Index: openpam_dynamic.c
===
--- openpam_dynamic.c (revision 228
Author: glebius
Date: Thu Dec 29 15:59:14 2011
New Revision: 228959
URL: http://svn.freebsd.org/changeset/base/228959
Log:
Don't fallback to a CARP address in BACKUP state.
Modified:
head/sys/netinet/if_ether.c
Modified: head/sys/netinet/if_ether.c
===
Author: glebius
Date: Fri Dec 30 15:41:28 2011
New Revision: 229003
URL: http://svn.freebsd.org/changeset/base/229003
Log:
style(9), whitespace and spelling nits.
Modified:
head/sys/netgraph/ng_base.c
Modified: head/sys/netgraph/ng_base.c
=
On Fri, Dec 30, 2011 at 11:23:45AM -0800, Maxim Sobolev wrote:
M> Won't this break whole lot of third-party software, which expects
M> FreeBSD to be slightly different in this regards? Just curious.
Yes it does. And until FreeBSD 10.0-RELEASE there is time to fix
this software (at least in ports)
Author: glebius
Date: Wed Jan 4 07:01:23 2012
New Revision: 229465
URL: http://svn.freebsd.org/changeset/base/229465
Log:
Use correct locking when traversing interface address list.
Reviewed by: bz
Modified:
head/sys/netinet6/in6.c
Modified: head/sys/netinet6/in6.c
===
Author: glebius
Date: Wed Nov 24 05:24:36 2010
New Revision: 215790
URL: http://svn.freebsd.org/changeset/base/215790
Log:
Redo r166423. It is important not only skip freeing multicast
entires when underlying interface is detached, but also purge
pointers to them, to avoid double-free in fut
Author: glebius
Date: Wed Nov 24 05:37:12 2010
New Revision: 215791
URL: http://svn.freebsd.org/changeset/base/215791
Log:
MFhead r214508:
Revert a small part of the r198301, that is entirely unrelated to the
r198301 itself. It also broke the logic of not sending more than one
ARP re
On Wed, Nov 24, 2010 at 06:11:53PM +1100, Bruce Evans wrote:
B> > +++ stable/8/sys/netinet/if_ether.cWed Nov 24 05:37:12 2010
(r215791)
B> > @@ -381,7 +381,7 @@ retry:
B> >int canceled;
B> >
B> >LLE_ADDREF(la);
B> > - la->la_expire = time_second + V_
Author: glebius
Date: Tue Nov 30 15:57:00 2010
New Revision: 216075
URL: http://svn.freebsd.org/changeset/base/216075
Log:
Use time_uptime instead of non-monotonic time_second to drive ARP
timeouts.
Suggested by: bde
Modified:
head/sys/netinet/if_ether.c
head/sys/netinet/in.c
head/
Author: glebius
Date: Tue Nov 30 16:00:59 2010
New Revision: 216076
URL: http://svn.freebsd.org/changeset/base/216076
Log:
That should belong to r216075. Pointy hat on me.
Modified:
head/usr.sbin/arp/arp.c
Modified: head/usr.sbin/arp/arp.c
Author: glebius
Date: Tue Nov 30 16:14:19 2010
New Revision: 216078
URL: http://svn.freebsd.org/changeset/base/216078
Log:
Do not hardcode (20*60), but use current ARP timeout value configured
in kernel.
Modified:
head/usr.sbin/arp/arp.c
Modified: head/usr.sbin/arp/arp.c
==
Author: glebius
Date: Mon Dec 6 09:37:56 2010
New Revision: 216225
URL: http://svn.freebsd.org/changeset/base/216225
Log:
Catch up with kernel using time_uptime to drive ARP timeouts.
Noticed by: jilles
Modified:
head/usr.sbin/rarpd/rarpd.c
Modified: head/usr.sbin/rarpd/rarpd.c
=
Author: glebius
Date: Mon Dec 6 09:39:36 2010
New Revision: 216226
URL: http://svn.freebsd.org/changeset/base/216226
Log:
Catch up with kernel using time_uptime to drive ARP timeouts.
Noticed by: jilles
Modified:
head/libexec/bootpd/rtmsg.c
Modified: head/libexec/bootpd/rtmsg.c
=
Author: glebius
Date: Wed Dec 8 15:10:27 2010
New Revision: 216296
URL: http://svn.freebsd.org/changeset/base/216296
Log:
Add RTM_IEEE80211 to array of route message descriptions.
PR: 151664
Submitted by: Alexey Illarionov
Modified:
head/sbin/route/route.c
Modified: head/s
Author: glebius
Date: Wed Dec 8 15:12:37 2010
New Revision: 216297
URL: http://svn.freebsd.org/changeset/base/216297
Log:
- Fix array bounds checking. [1]
- Add message length checking.
PR: 151664 [1]
Submitted by: Alexey Illarionov [1]
Reviewed by: yar
Modified:
head/
Author: glebius
Date: Tue Aug 25 14:08:33 2009
New Revision: 196543
URL: http://svn.freebsd.org/changeset/base/196543
Log:
Fix build broken in r196524.
Modified:
head/sys/i386/isa/vesa.c
Modified: head/sys/i386/isa/vesa.c
==
1 - 100 of 2945 matches
Mail list logo