Author: melifaro
Date: Mon Oct 6 12:29:06 2014
New Revision: 272614
URL: https://svnweb.freebsd.org/changeset/base/272614
Log:
Improve r272609 (O_TCPOPTS).
MFC after:3 dayes
Modified:
head/sys/netpfil/ipfw/ip_fw2.c
Modified: head/sys/netpfil/ipfw/ip_fw2.c
==
Author: melifaro
Date: Mon Oct 6 11:15:11 2014
New Revision: 272609
URL: https://svnweb.freebsd.org/changeset/base/272609
Log:
Fix O_TCPOPTS processing.
Obtained from:luigi
Modified:
head/sys/netpfil/ipfw/ip_fw2.c
Modified: head/sys/netpfil/ipfw/ip_fw2.c
===
Author: melifaro
Date: Mon Oct 6 11:00:47 2014
New Revision: 272607
URL: https://svnweb.freebsd.org/changeset/base/272607
Log:
Improve "reserved keywords" hack:
we can't easily predict (in current parsing model)
if the keyword is ipfw(8) reserved keyword or port name.
Checking proto da
On 06.09.2014 23:43, Alexander Motin wrote:
> Author: mav
> Date: Sat Sep 6 19:43:48 2014
> New Revision: 271207
> URL: http://svnweb.freebsd.org/changeset/base/271207
>
> Log:
> Save one register read (AHCI_IS) for AHCI controllers with only one port.
>
> For controllers with only one por
Author: melifaro
Date: Sat Oct 4 12:46:26 2014
New Revision: 272518
URL: https://svnweb.freebsd.org/changeset/base/272518
Log:
Bump max rule size to 512 opcodes.
Modified:
head/sys/netpfil/ipfw/ip_fw_sockopt.c
Modified: head/sys/netpfil/ipfw/ip_fw_sockopt.c
=
On 02.10.2014 14:32, Gleb Smirnoff wrote:
On Thu, Oct 02, 2014 at 12:16:15PM +0400, Alexander V. Chernikov wrote:
A> On 02.10.2014 04:25, Hiroki Sato wrote:
A> > Author: hrs
A> > Date: Thu Oct 2 00:25:57 2014
A> > New Revision: 272391
A> > URL: https://svnweb.freebsd.
On 02.10.2014 04:25, Hiroki Sato wrote:
Author: hrs
Date: Thu Oct 2 00:25:57 2014
New Revision: 272391
URL: https://svnweb.freebsd.org/changeset/base/272391
Log:
Add an additional routing table lookup when m->m_pkthdr.fibnum is changed
at a PFIL hook in ip{,6}_output(). IPFW setfib rule
Author: melifaro
Date: Wed Oct 1 21:24:58 2014
New Revision: 272385
URL: https://svnweb.freebsd.org/changeset/base/272385
Log:
Free radix mask entries on main radix destroy.
This is temporary commit to be merged to 10.
Other approach (like hash table) should be used
to store different mas
Author: melifaro
Date: Wed Oct 1 14:39:06 2014
New Revision: 272361
URL: https://svnweb.freebsd.org/changeset/base/272361
Log:
Remove lock init from radix.c.
Radix has never managed its locking itself.
The only consumer using radix with embeded rwlock
is system routing table. Move per-AF
Author: melifaro
Date: Sun Sep 28 19:05:22 2014
New Revision: 272266
URL: http://svnweb.freebsd.org/changeset/base/272266
Log:
Convert most BPF_TAP users to BPF_MTAP.
MFC after:2 weeks
Modified:
head/sys/dev/ce/if_ce.c
head/sys/dev/cp/if_cp.c
head/sys/dev/ctau/if_ct.c
head/sys/
Author: melifaro
Date: Sat Sep 27 13:57:48 2014
New Revision: 272211
URL: http://svnweb.freebsd.org/changeset/base/272211
Log:
Use underlying ports counters to get lagg statistics instead of
per-packet accounting.
This introduce user-visible changes like aggregating error counters.
Revi
Author: melifaro
Date: Sat Sep 27 07:04:12 2014
New Revision: 272201
URL: http://svnweb.freebsd.org/changeset/base/272201
Log:
* Split tcp_signature_compute() into 2 pieces:
- tcp_get_sav() - SADB key lookup
- tcp_signature_do_compute() - actual computation
* Fix TCP signature case for l
On 15.09.2014 14:56, Gleb Smirnoff wrote:
> On Sat, Sep 13, 2014 at 06:13:08PM +0000, Alexander V. Chernikov wrote:
> A> @@ -1099,15 +1117,39 @@ vlan_transmit(struct ifnet *ifp, struct
> A> * Send it, precisely as ether_output() would have.
> A> */
> A>er
Author: melifaro
Date: Tue Sep 16 21:48:48 2014
New Revision: 271691
URL: http://svnweb.freebsd.org/changeset/base/271691
Log:
* Fix if_omcast handling
* Convert if_oerrors to pcpu.
Suggested by: glebius
MFC after:2 weeks
Modified:
head/sys/net/if_vlan.c
Modified: head/sys/net/i
Author: melifaro
Date: Sat Sep 13 18:41:24 2014
New Revision: 271544
URL: http://svnweb.freebsd.org/changeset/base/271544
Log:
Switch if_vlan(4) to rmlock.
MFC after:2 weeks
Modified:
head/sys/net/if_vlan.c
Modified: head/sys/net/if_vlan.c
===
Author: melifaro
Date: Sat Sep 13 18:13:08 2014
New Revision: 271538
URL: http://svnweb.freebsd.org/changeset/base/271538
Log:
Switch if_vlan(4) to use counter(9) using new
if_get_counter api.
Modified:
head/sys/net/if_vlan.c
Modified: head/sys/net/if_vlan.c
=
Author: melifaro
Date: Sat Sep 13 16:04:55 2014
New Revision: 271524
URL: http://svnweb.freebsd.org/changeset/base/271524
Log:
Do not try to read i2c info when no transceiver is present.
MFC with: r270064
Sponsored by: Yandex LLC
Modified:
head/sbin/ifconfig/sfp.c
Modified: head/s
Author: melifaro
Date: Sat Sep 13 13:46:16 2014
New Revision: 271509
URL: http://svnweb.freebsd.org/changeset/base/271509
Log:
Fix error handling in cpuset_setithread() introduced in r267716.
Noted by: kib
MFC after:1 week
Modified:
head/sys/kern/kern_cpuset.c
Modified: head/s
Author: melifaro
Date: Wed Sep 3 11:07:49 2014
New Revision: 271014
URL: http://svnweb.freebsd.org/changeset/base/271014
Log:
* Unconditionally turn on SIOCGI2C probing for all interfaces
on "ifconfig -v". I've seen no measurable timing difference
for doing additional SIOCGI2C call
On 31.08.2014 10:46, Gleb Smirnoff wrote:
Author: glebius
Date: Sun Aug 31 06:46:21 2014
New Revision: 270870
URL: http://svnweb.freebsd.org/changeset/base/270870
Log:
o Remove struct if_data from struct ifnet. Now it is merely API structure
for route(4) socket and ifmib(4) sysctl.
o
Author: melifaro
Date: Fri Aug 29 18:02:58 2014
New Revision: 270822
URL: http://svnweb.freebsd.org/changeset/base/270822
Log:
* Add SIOCGI2C driver ioctl used to retrieve i2c info.
* Convert ixgbe to use this ioctl
* Convert ifconfig to use generic i2c handler for "ix" interfaces.
App
Author: melifaro
Date: Sat Aug 23 17:57:06 2014
New Revision: 270425
URL: http://svnweb.freebsd.org/changeset/base/270425
Log:
Whitespace/style changes merged from projects/ipfw.
Modified:
head/sbin/ipfw/ipfw2.c
head/sys/netpfil/ipfw/ip_fw2.c
head/sys/netpfil/ipfw/ip_fw_sockopt.c
Modifie
Author: melifaro
Date: Sat Aug 23 17:37:18 2014
New Revision: 270424
URL: http://svnweb.freebsd.org/changeset/base/270424
Log:
Merge buffer-printing changes from from projects/ipfw as preparation
for branch merge.
Requested by: luigi
Modified:
head/sbin/ipfw/altq.c
head/sbin/ipfw/dum
Author: melifaro
Date: Thu Aug 21 17:54:42 2014
New Revision: 270287
URL: http://svnweb.freebsd.org/changeset/base/270287
Log:
* Add new net/sff8436.h containing constants used to access
QSFP+ data via i2c inteface. These constants has been taken
from SFF-8436 "QSFP+ 10 Gbs 4X PLUGGABLE
Author: melifaro
Date: Mon Aug 18 08:07:50 2014
New Revision: 270129
URL: http://svnweb.freebsd.org/changeset/base/270129
Log:
Zero buffer before request.
Modified:
head/sbin/ifconfig/sfp.c
Modified: head/sbin/ifconfig/sfp.c
===
Author: melifaro
Date: Sun Aug 17 20:06:47 2014
New Revision: 270115
URL: http://svnweb.freebsd.org/changeset/base/270115
Log:
Add forgotten DPADD to ifconfig(8).
PR: 192760
Submitted by: yaneurabeya at gmail.com
MFC after:2 weeks
Modified:
head/sbin/ifconfig/Makefile
Author: melifaro
Date: Sat Aug 16 22:55:58 2014
New Revision: 270069
URL: http://svnweb.freebsd.org/changeset/base/270069
Log:
Clean up unused definitions.
Modified:
head/sbin/ifconfig/sfp.c
Modified: head/sbin/ifconfig/sfp.c
==
Author: melifaro
Date: Sat Aug 16 21:53:44 2014
New Revision: 270068
URL: http://svnweb.freebsd.org/changeset/base/270068
Log:
* Use standard net/sff8472.h header for sff bits and offsets.
* Convert sff_8472_id to 'const char *' to please clang.
Pointed by: np
Modified:
head/sbin/ifc
Aug 16 19:13:52 2014(r270064)
@@ -0,0 +1,543 @@
+/*-
+ * Copyright (c) 2014 Alexander V. Chernikov. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistribution
On 25.06.2014 21:10, Hajimu UMEMOTO wrote:
> Author: ume
> Date: Wed Jun 25 17:10:26 2014
> New Revision: 267874
> URL: http://svnweb.freebsd.org/changeset/base/267874
>
> Log:
> MFC r267616, 267640:
>
> Retooling addrconfig() to exclude addresses on loopback interfaces
> when looking for
Author: melifaro
Date: Sun Jun 22 11:32:23 2014
New Revision: 267716
URL: http://svnweb.freebsd.org/changeset/base/267716
Log:
Permit changing cpu mask for cpu set 1 in presence of drivers
binding their threads to particular CPU.
Changing ithread cpu mask is now performed by special cpuse
Author: melifaro
Date: Wed Jun 11 11:27:44 2014
New Revision: 267361
URL: http://svnweb.freebsd.org/changeset/base/267361
Log:
Improve logic besides net.bpf.optimize_writers.
Direct bpf(4) consumers should now work fine with this tunable turned on.
In fact, the only case when optimized_write
Author: melifaro
Date: Sat May 17 13:45:03 2014
New Revision: 266310
URL: http://svnweb.freebsd.org/changeset/base/266310
Log:
Fix wrong formatting of 0.0.0.0/X table records in ipfw(8).
Add `flags` u16 field to the hole in ipfw_table_xentry structure.
Kernel has been guessing address fam
Author: melifaro
Date: Fri May 9 16:20:55 2014
New Revision: 265782
URL: http://svnweb.freebsd.org/changeset/base/265782
Log:
Allow systat(1) interactive dispay-specific commands to
be specified via command line.
Submitted by: vsevolod
MFC after:2 weeks
Modified:
head/usr.bin/sy
Author: melifaro
Date: Fri May 9 14:24:02 2014
New Revision: 265778
URL: http://svnweb.freebsd.org/changeset/base/265778
Log:
Fix ndp(8) -f flag parsing
PR: bin/136661
Reminded by: Vinicius Zavam
MFC after:2 weeks
Modified:
head/usr.sbin/ndp/ndp.8
head/usr.sbin/ndp/
Author: melifaro
Date: Thu May 8 21:03:31 2014
New Revision: 265717
URL: http://svnweb.freebsd.org/changeset/base/265717
Log:
Merge 260488, r260508.
r260488:
Split rt_newaddrmsg_fib() into two different functions.
Adding/deleting interface addresses involves access to 3 different
Author: melifaro
Date: Thu May 8 20:57:13 2014
New Revision: 265715
URL: http://svnweb.freebsd.org/changeset/base/265715
Log:
Merge 260488, r260508.
r260488:
Split rt_newaddrmsg_fib() into two different functions.
Adding/deleting interface addresses involves access to 3 different
Author: melifaro
Date: Thu May 8 20:41:39 2014
New Revision: 265711
URL: http://svnweb.freebsd.org/changeset/base/265711
Log:
Merge r260379, r260460.
r260379:
Partially fix IPv4 interface routes deletion in RADIX_MPATH.
Noticed by: Nikolay Denev
r260460:
Constanly us
Author: melifaro
Date: Thu May 8 20:33:47 2014
New Revision: 265710
URL: http://svnweb.freebsd.org/changeset/base/265710
Log:
Merge r260379, r260460.
r260379:
Partially fix IPv4 interface routes deletion in RADIX_MPATH.
Noticed by: Nikolay Denev
r260460:
Constanly us
Author: melifaro
Date: Thu May 8 20:27:06 2014
New Revision: 265708
URL: http://svnweb.freebsd.org/changeset/base/265708
Log:
Merge r259528, r259528, r260295.
r259528:
Simplify contiguous mask checking.
Suggested by: glebius
r260228:
Remove useless register variable mod
Author: melifaro
Date: Thu May 8 20:24:13 2014
New Revision: 265707
URL: http://svnweb.freebsd.org/changeset/base/265707
Log:
Merge r259528, r259528, r260295.
r259528:
Simplify contiguous mask checking.
Suggested by: glebius
r260228:
Remove useless register variable mod
Author: melifaro
Date: Thu May 8 19:35:29 2014
New Revision: 265702
URL: http://svnweb.freebsd.org/changeset/base/265702
Log:
Merge r260524,r260540
r260524:
Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8).
r260540:
Bump dates in nestat(1) and route(8) man pag
Author: melifaro
Date: Thu May 8 19:35:12 2014
New Revision: 265701
URL: http://svnweb.freebsd.org/changeset/base/265701
Log:
Merge r260524,r260540
r260524:
Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8).
r260540:
Bump dates in nestat(1) and route(8) man pag
Author: melifaro
Date: Thu May 8 19:11:41 2014
New Revision: 265700
URL: http://svnweb.freebsd.org/changeset/base/265700
Log:
Merge r258708, r258711, r260247, r261117.
r258708:
Check ipfw table numbers in both user and kernel space before rule addition.
Found by: Saychik Pavel
Author: melifaro
Date: Thu May 8 19:11:14 2014
New Revision: 265699
URL: http://svnweb.freebsd.org/changeset/base/265699
Log:
Merge r258708, r258711, r260247, r261117.
r258708:
Check ipfw table numbers in both user and kernel space before rule addition.
Found by: Saychik Pavel
Author: melifaro
Date: Thu May 8 18:09:32 2014
New Revision: 265693
URL: http://svnweb.freebsd.org/changeset/base/265693
Log:
Merge r258677.
Fix key lookup in ipfw(8) broken since r232865.
Print warning for IPv4 address strings which are valid in
inet_aton() but not valid in inet_pton(
Author: melifaro
Date: Thu May 8 18:06:44 2014
New Revision: 265692
URL: http://svnweb.freebsd.org/changeset/base/265692
Log:
Merge r258677.
Fix key lookup in ipfw(8) broken since r232865.
Print warning for IPv4 address strings which are valid in
inet_aton() but not valid in inet_pton(
Author: melifaro
Date: Thu May 8 13:54:57 2014
New Revision: 265682
URL: http://svnweb.freebsd.org/changeset/base/265682
Log:
Rename rt_msg1() to more handy rtsock_msg_mbuf().
(Just for history purposes: rt_msg2() was renamed
to rtsock_msg_buffer() in r265019).
Sponsored by: Yandex LL
Author: melifaro
Date: Thu May 8 11:56:06 2014
New Revision: 265666
URL: http://svnweb.freebsd.org/changeset/base/265666
Log:
Fix incorrect netmasks being passed via rtsock.
Since radix has been ignoring sa_family in passed sockaddrs,
no one ever has bothered filling valid sa_family in n
Author: melifaro
Date: Sat May 3 20:22:13 2014
New Revision: 265288
URL: http://svnweb.freebsd.org/changeset/base/265288
Log:
Fix panic on IPv4 address removal introduced in r265279.
Reported by: Trond Endrestøl
MFC with: r265279
Modified:
head/sys/netinet/in_rmx.c
Modified: hea
Author: melifaro
Date: Sat May 3 17:57:06 2014
New Revision: 265283
URL: http://svnweb.freebsd.org/changeset/base/265283
Log:
Fix sysctl_ifmalist() broken in r265019.
Reported by: Olivier Cochard-Labbé
MFC with: r265019
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtso
Author: melifaro
Date: Sat May 3 16:38:05 2014
New Revision: 265280
URL: http://svnweb.freebsd.org/changeset/base/265280
Log:
Remove additional fib checks from rtalloc1_fib.
It looks like current consumers are either unaware
of MRT (and uses RT_DEFAULT_FIB implicitly) or
know what thay ar
Author: melifaro
Date: Sat May 3 16:28:54 2014
New Revision: 265279
URL: http://svnweb.freebsd.org/changeset/base/265279
Log:
Pass radix head ptr along with rte to rtexpunge().
Rename rtexpunge to rt_expunge().
Modified:
head/sys/net/route.c
head/sys/net/route.h
head/sys/netinet/in_rmx
On 03.05.2014 00:22, Alan Somers wrote:
> On Fri, May 2, 2014 at 11:01 AM, Alexander V. Chernikov
> wrote:
>> On 02.05.2014 20:24, Alan Somers wrote:
>>>
>>> Author: asomers
>>> Date: Fri May 2 16:24:09 2014
>>> New Revision: 265232
>>
On 02.05.2014 20:24, Alan Somers wrote:
Author: asomers
Date: Fri May 2 16:24:09 2014
New Revision: 265232
URL: http://svnweb.freebsd.org/changeset/base/265232
Log:
Fix a panic caused by doing "ifconfig -am" while a lagg is being destroyed.
The thread that is destroying the lagg has alrea
Author: melifaro
Date: Thu May 1 15:04:32 2014
New Revision: 265196
URL: http://svnweb.freebsd.org/changeset/base/265196
Log:
Fix rnh_walktree_from() function (patch from kern/174959).
Require valid netmask to be passed since host route is always a leaf.
PR: kern/174959
Submi
Author: melifaro
Date: Tue Apr 29 19:48:11 2014
New Revision: 265104
URL: http://svnweb.freebsd.org/changeset/base/265104
Log:
Partially revert r265019 - allocating 512 bytes on stack
can be too much for architectures like ARM. Always use rounded
malloc instead.
Discussed with: jm
Author: melifaro
Date: Tue Apr 29 19:14:42 2014
New Revision: 265103
URL: http://svnweb.freebsd.org/changeset/base/265103
Log:
Move rt_setmetrics() from rtsock.c to route.c.
All rtsock-initiated rte creation/modification are now
performed in route.c holding radix tree write lock.
This redu
On 29.04.2014 12:35, Olivier Cochard-Labbé wrote:
On Fri, Dec 20, 2013 at 1:17 AM, Alexander V. Chernikov
mailto:melif...@freebsd.org>> wrote:
Author: melifaro
Date: Fri Dec 20 00:17:26 2013
New Revision: 259638
URL: http://svnweb.freebsd.org/changeset/base/259638
Author: melifaro
Date: Tue Apr 29 16:51:28 2014
New Revision: 265096
URL: http://svnweb.freebsd.org/changeset/base/265096
Log:
Fix "netstat -gW" behavior broken in r259638.
netstat has two options for printing multicast tables:
sysctl (the default one for live systems) and kvm-based one (for
On 28.04.2014 12:59, Gleb Smirnoff wrote:
On Sat, Apr 26, 2014 at 09:03:41PM +, Alexander V. Chernikov wrote:
A> @@ -1425,6 +1431,95 @@ bad:
A> #undef ifpaddr
A> #undef flags
A>
A> +#define senderr(e) { error = e; goto bad; }
...
A> + if (error != 0)
A> +
Author: melifaro
Date: Tue Apr 29 12:52:36 2014
New Revision: 265091
URL: http://svnweb.freebsd.org/changeset/base/265091
Log:
Do not use senderr() in rtrequest1_fib_change().
Suggested by: glebius
MFC after:4 weeks
Modified:
head/sys/net/route.c
Modified: head/sys/net/route.c
===
On 28.04.2014 01:00, Ian Lepore wrote:
> On Sun, 2014-04-27 at 17:41 +0000, Alexander V. Chernikov wrote:
>> Author: melifaro
>> Date: Sun Apr 27 17:41:18 2014
>> New Revision: 265019
>> URL: http://svnweb.freebsd.org/changeset/base/265019
>>
>> Log:
&
Author: melifaro
Date: Sun Apr 27 21:17:54 2014
New Revision: 265027
URL: http://svnweb.freebsd.org/changeset/base/265027
Log:
Fix build
Found by: ian
Pointyhat to: me
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtsock.c
=
Author: melifaro
Date: Sun Apr 27 17:41:18 2014
New Revision: 265019
URL: http://svnweb.freebsd.org/changeset/base/265019
Log:
Improve memory allocation model for rt_msg2() rtsock messages:
* memory is now allocated as early as possible, without holding locks.
* sysctl users are now guaran
Author: melifaro
Date: Sun Apr 27 10:43:48 2014
New Revision: 265011
URL: http://svnweb.freebsd.org/changeset/base/265011
Log:
Remove useless zeroing of RTAX_DST on error.
Cleanup a bit.
MFC after:1 month
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtsock.c
Author: melifaro
Date: Sun Apr 27 10:20:37 2014
New Revision: 265010
URL: http://svnweb.freebsd.org/changeset/base/265010
Log:
Cleanup route_output() a bit.
MFC after:1 month
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtsock.c
Author: melifaro
Date: Sun Apr 27 09:49:35 2014
New Revision: 265009
URL: http://svnweb.freebsd.org/changeset/base/265009
Log:
Do not delay freeing rtm. Bandaid added in r227061 is not needed since
r227061,
MFC after:1 month
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rt
On 27.04.2014 03:16, Ian Lepore wrote:
> On Sat, 2014-04-26 at 22:32 +0000, Alexander V. Chernikov wrote:
>> Author: melifaro
>> Date: Sat Apr 26 22:32:04 2014
>> New Revision: 264987
>> URL: http://svnweb.freebsd.org/changeset/base/264987
>>
>> Log:
>>
Author: melifaro
Date: Sun Apr 27 02:20:09 2014
New Revision: 264998
URL: http://svnweb.freebsd.org/changeset/base/264998
Log:
Move up fibnum to ensure it is always defined.
Found by: ian
MFC with: r264987
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtsock.c
===
Author: melifaro
Date: Sat Apr 26 22:42:21 2014
New Revision: 264989
URL: http://svnweb.freebsd.org/changeset/base/264989
Log:
Remove useless `register' declarations.
MFC after:1 month
Modified:
head/sys/net/route.c
Modified: head/sys/net/route.c
Author: melifaro
Date: Sat Apr 26 22:32:04 2014
New Revision: 264987
URL: http://svnweb.freebsd.org/changeset/base/264987
Log:
Determine fibnum once in the beginning of route_output().
MFC after:1 month
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtsock.c
Author: melifaro
Date: Sat Apr 26 21:03:41 2014
New Revision: 264986
URL: http://svnweb.freebsd.org/changeset/base/264986
Log:
Decouple RTM_CHANGE from RTM_GET handling in rtsock.c:route_output().
RTM_CHANGE is now handled inside route.c:rtrequest1_fib() as it should be.
Note change change h
Author: melifaro
Date: Sat Apr 26 16:46:33 2014
New Revision: 264976
URL: http://svnweb.freebsd.org/changeset/base/264976
Log:
Use "hash" value in rtalloc_mpath_fib() instead of RTF_ANNOUNCE flag.
Hashing method is the same as in in6_src.c. (Probably we need better one).
MFC after:2 w
Author: melifaro
Date: Sat Apr 26 16:12:39 2014
New Revision: 264974
URL: http://svnweb.freebsd.org/changeset/base/264974
Log:
Remove sa_equal() definition since it is already defined in net/route.h.
Noted by: ian
MFC after:2 weeks
Modified:
head/usr.sbin/ifmcstat/ifmcstat.c
M
On 26.04.2014 20:06, Ian Lepore wrote:
On Sat, 2014-04-26 at 14:52 +, Alexander V. Chernikov wrote:
Author: melifaro
Date: Sat Apr 26 14:52:03 2014
New Revision: 264973
URL: http://svnweb.freebsd.org/changeset/base/264973
Log:
Unify sa_equal() macro usage.
MFC after: 2 weeks
Author: melifaro
Date: Sat Apr 26 14:52:03 2014
New Revision: 264973
URL: http://svnweb.freebsd.org/changeset/base/264973
Log:
Unify sa_equal() macro usage.
MFC after:2 weeks
Modified:
head/sys/net/if.c
head/sys/net/route.c
head/sys/net/route.h
head/sys/net/rtsock.c
head/sys/
Author: melifaro
Date: Thu Feb 13 19:09:04 2014
New Revision: 261847
URL: http://svnweb.freebsd.org/changeset/base/261847
Log:
Further simplify nd6_output_lle.
Currently we have 3 usage patterns:
1) nd6_output (most traffic flow, no lle supplied, lle RLOCK sufficient)
2) corner cases for o
Author: melifaro
Date: Mon Feb 10 12:52:33 2014
New Revision: 261708
URL: http://svnweb.freebsd.org/changeset/base/261708
Log:
Simplify nd6_output_lle:
* Check ND6_IFF_IFDISABLED before acquiring any locks
* Assume m is always non-NULL
* remove 'bad' case not used anymore
* Simply if_out
On 19.01.2014 21:33, Bjoern A. Zeeb wrote:
On 19 Jan 2014, at 16:07 , Alexander V. Chernikov wrote:
Author: melifaro
Date: Sun Jan 19 16:07:27 2014
New Revision: 260882
URL: http://svnweb.freebsd.org/changeset/base/260882
Log:
Further rework netinet6 address handling code:
* Set ia
Author: melifaro
Date: Fri Jan 24 09:13:30 2014
New Revision: 261117
URL: http://svnweb.freebsd.org/changeset/base/261117
Log:
Reorder struct ip_fw_chain:
* move rarely-used fields down
* move uh_lock to different cacheline
* remove some usused fields
Sponsored by: Yandex LLC
Modifie
Author: melifaro
Date: Sun Jan 19 16:07:27 2014
New Revision: 260882
URL: http://svnweb.freebsd.org/changeset/base/260882
Log:
Further rework netinet6 address handling code:
* Set ia address/mask values BEFORE attaching to address lists.
Inet6 address assignment is not atomic, so the simples
Author: melifaro
Date: Sat Jan 18 23:24:51 2014
New Revision: 260870
URL: http://svnweb.freebsd.org/changeset/base/260870
Log:
Simplify filling sockaddr_dl structure for if_resolvemulti()
callback providers. link_init_sdl() function can be used to
fill most of the parameters. Use caller stac
Author: melifaro
Date: Sat Jan 18 20:54:55 2014
New Revision: 260861
URL: http://svnweb.freebsd.org/changeset/base/260861
Log:
Use in6_localip() instead of hand-rolled cycle.
MFC after:2 weeks
Modified:
head/sys/netinet6/nd6_rtr.c
Modified: head/sys/netinet6/nd6_rtr.c
==
Author: melifaro
Date: Sat Jan 18 20:32:59 2014
New Revision: 260860
URL: http://svnweb.freebsd.org/changeset/base/260860
Log:
Add in6_prepare_ifra() function to ease preparing in-kernel IPv6
address requests.
MFC after:2 weeks
Modified:
head/sys/netinet6/in6.c
head/sys/netinet6/
Author: melifaro
Date: Sat Jan 18 15:57:43 2014
New Revision: 260852
URL: http://svnweb.freebsd.org/changeset/base/260852
Log:
Do some style(9) not done in r260851 to improve readability.
MFC after:2 weeks
Modified:
head/sys/netinet6/in6.c
Modified: head/sys/netinet6/in6.c
=
Author: melifaro
Date: Sat Jan 18 15:52:52 2014
New Revision: 260851
URL: http://svnweb.freebsd.org/changeset/base/260851
Log:
Split in6_update_ifa() into smaller pieces leaving functionality intact.
Discussed with: ae
MFC after:2 weeks
Modified:
head/sys/netinet6/in6.c
Modi
On 16.01.2014 22:04, John-Mark Gurney wrote:
> Alexander V. Chernikov wrote this message on Thu, Jan 16, 2014 at 11:50 +:
>> Author: melifaro
>> Date: Thu Jan 16 11:50:00 2014
>> New Revision: 260702
>> URL: http://svnweb.freebsd.org/changeset/base/260702
>>
&
Author: melifaro
Date: Thu Jan 16 12:35:18 2014
New Revision: 260707
URL: http://svnweb.freebsd.org/changeset/base/260707
Log:
Fix refcount leak on netinet ifa.
Reviewed by: glebius
MFC after:2 weeks
Sponsored by: Yandex LLC
Modified:
head/sys/netinet/in.c
Modified: head/sys/ne
Author: melifaro
Date: Thu Jan 16 11:50:00 2014
New Revision: 260702
URL: http://svnweb.freebsd.org/changeset/base/260702
Log:
Fix ipfw fwd for IPv4 traffic broken by r249894.
Problem case:
Original lookup returns route with GW set, so gw points to
rte->rt_gateway.
After that we're ch
Author: melifaro
Date: Sat Jan 11 18:27:34 2014
New Revision: 260551
URL: http://svnweb.freebsd.org/changeset/base/260551
Log:
Revert r260548. We really should not use IPFW_WLOCK() here
but this requires some more playing with IPFW_UH_WLOCK(). Leave till later.
Modified:
head/sys/netpfil/ip
Author: melifaro
Date: Sat Jan 11 16:50:41 2014
New Revision: 260548
URL: http://svnweb.freebsd.org/changeset/base/260548
Log:
We don't need chain write lock since we're not modifying its contents.
LibAliasSetAddress() uses its own mutex to serialize changes.
While here, convert ifp->if_x
Author: melifaro
Date: Sat Jan 11 09:44:00 2014
New Revision: 260540
URL: http://svnweb.freebsd.org/changeset/base/260540
Log:
Bump dates in nestat(1) and route(8) man pages.
Fix several small errors introduced by r260524.
Suggested by: glebius
MFC after:2 weeks
Modified:
head/sb
Author: melifaro
Date: Fri Jan 10 23:08:18 2014
New Revision: 260524
URL: http://svnweb.freebsd.org/changeset/base/260524
Log:
Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8).
MFC after:2 weeks
Modified:
head/sbin/route/keywords
head/sbin/route/route.8
head/sbin
On 10.01.2014 14:14, Gleb Smirnoff wrote:
Alexander,
some nitpicking:
On Thu, Jan 09, 2014 at 06:13:25PM +, Alexander V. Chernikov wrote:
A> @@ -52,6 +53,7 @@
A> #include
A> #include
A> #include
A> +#include
A>
A> #include
A> #include
A> @@
Author: melifaro
Date: Fri Jan 10 12:13:55 2014
New Revision: 260508
URL: http://svnweb.freebsd.org/changeset/base/260508
Log:
Simplify inet alias handling code: if we're adding/removing alias which
has the same prefix as some other alias on the same interface, use
newly-added rt_addrmsg() i
Author: melifaro
Date: Thu Jan 9 18:13:25 2014
New Revision: 260488
URL: http://svnweb.freebsd.org/changeset/base/260488
Log:
Split rt_newaddrmsg_fib() into two different functions.
Adding/deleting interface addresses involves access to 3 different subsystems,
int different parts of code. E
Author: melifaro
Date: Thu Jan 9 10:40:36 2014
New Revision: 260472
URL: http://svnweb.freebsd.org/changeset/base/260472
Log:
Do some more sanity checks in route(8): require netmask to have
the same address family as destination.
Found by: jmg
MFC after:2 weeks
Modified:
hea
Author: melifaro
Date: Wed Jan 8 23:09:02 2014
New Revision: 260460
URL: http://svnweb.freebsd.org/changeset/base/260460
Log:
Constanly use RT_ALL_FIBS everywhere instead of -1.
MFC after:2 weeks
Modified:
head/sys/net/route.c
head/sys/net/route.h
head/sys/net/rtsock.c
Modified
Author: melifaro
Date: Wed Jan 8 22:13:32 2014
New Revision: 260458
URL: http://svnweb.freebsd.org/changeset/base/260458
Log:
Introduce IN6_MASK_ADDR() macro to unify various hand-rolled code
to do IPv6 addr & mask in different places.
MFC after:2 weeks
Modified:
head/sys/netinet6
401 - 500 of 676 matches
Mail list logo