2005-08-09 19:59:20 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
2005-08-09 20:07:13 -07:00
|
|
|
|
2008-10-07 11:41:57 -07:00
|
|
|
|
2005-08-09 20:09:06 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:06 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2005-08-09 19:59:20 -07:00
|
|
|
|
2005-08-09 20:08:09 -07:00
|
|
|
|
2007-11-10 21:18:39 -08:00
|
|
|
|
2005-08-09 19:59:20 -07:00
|
|
|
|
2005-08-09 20:10:42 -07:00
|
|
|
|
2005-12-27 02:43:12 -02:00
|
|
|
|
2005-08-09 20:07:13 -07:00
|
|
|
|
2008-10-07 11:41:57 -07:00
|
|
|
|
2005-08-09 20:08:28 -07:00
|
|
|
|
2008-06-16 17:14:11 -07:00
|
|
|
|
2005-08-09 20:07:13 -07:00
|
|
|
|
2011-07-26 16:09:06 -07:00
|
|
|
|
2005-08-09 20:09:46 -07:00
|
|
|
|
2005-08-09 20:08:09 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
tcp/dccp: remove twchain
TCP listener refactoring, part 3 :
Our goal is to hash SYN_RECV sockets into main ehash for fast lookup,
and parallel SYN processing.
Current inet_ehash_bucket contains two chains, one for ESTABLISH (and
friend states) sockets, another for TIME_WAIT sockets only.
As the hash table is sized to get at most one socket per bucket, it
makes little sense to have separate twchain, as it makes the lookup
slightly more complicated, and doubles hash table memory usage.
If we make sure all socket types have the lookup keys at the same
offsets, we can use a generic and faster lookup. It turns out TIME_WAIT
and ESTABLISHED sockets already have common lookup fields for IPv4.
[ INET_TW_MATCH() is no longer needed ]
I'll provide a follow-up to factorize IPv6 lookup as well, to remove
INET6_TW_MATCH()
This way, SYN_RECV pseudo sockets will be supported the same.
A new sock_gen_put() helper is added, doing either a sock_put() or
inet_twsk_put() [ and will support SYN_RECV later ].
Note this helper should only be called in real slow path, when rcu
lookup found a socket that was moved to another identity (freed/reused
immediately), but could eventually be used in other contexts, like
sock_edemux()
Before patch :
dmesg | grep "TCP established"
TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
After patch :
TCP established hash table entries: 524288 (order: 10, 4194304 bytes)
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-03 00:22:02 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
2008-11-16 19:40:17 -08:00
|
|
|
|
2005-10-04 15:55:51 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 00:54:20 -08:00
|
|
|
|
2008-01-31 05:05:50 -08:00
|
|
|
|
2008-11-12 00:54:20 -08:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2013-01-22 09:50:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inet: Allowing more than 64k connections and heavily optimize bind(0) time.
With simple extension to the binding mechanism, which allows to bind more
than 64k sockets (or smaller amount, depending on sysctl parameters),
we have to traverse the whole bind hash table to find out empty bucket.
And while it is not a problem for example for 32k connections, bind()
completion time grows exponentially (since after each successful binding
we have to traverse one bucket more to find empty one) even if we start
each time from random offset inside the hash table.
So, when hash table is full, and we want to add another socket, we have
to traverse the whole table no matter what, so effectivelly this will be
the worst case performance and it will be constant.
Attached picture shows bind() time depending on number of already bound
sockets.
Green area corresponds to the usual binding to zero port process, which
turns on kernel port selection as described above. Red area is the bind
process, when number of reuse-bound sockets is not limited by 64k (or
sysctl parameters). The same exponential growth (hidden by the green
area) before number of ports reaches sysctl limit.
At this time bind hash table has exactly one reuse-enbaled socket in a
bucket, but it is possible that they have different addresses. Actually
kernel selects the first port to try randomly, so at the beginning bind
will take roughly constant time, but with time number of port to check
after random start will increase. And that will have exponential growth,
but because of above random selection, not every next port selection
will necessary take longer time than previous. So we have to consider
the area below in the graph (if you could zoom it, you could find, that
there are many different times placed there), so area can hide another.
Blue area corresponds to the port selection optimization.
This is rather simple design approach: hashtable now maintains (unprecise
and racely updated) number of currently bound sockets, and when number
of such sockets becomes greater than predefined value (I use maximum
port range defined by sysctls), we stop traversing the whole bind hash
table and just stop at first matching bucket after random start. Above
limit roughly corresponds to the case, when bind hash table is full and
we turned on mechanism of allowing to bind more reuse-enabled sockets,
so it does not change behaviour of other sockets.
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Tested-by: Denys Fedoryschenko <denys@visp.net.lb>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-19 16:46:02 -08:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 00:54:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hlist: drop the node parameter from iterators
I'm not sure why, but the hlist for each entry iterators were conceived
list_for_each_entry(pos, head, member)
The hlist ones were greedy and wanted an extra parameter:
hlist_for_each_entry(tpos, pos, head, member)
Why did they need an extra pos parameter? I'm not quite sure. Not only
they don't really need it, it also prevents the iterator from looking
exactly like the list iterator, which is unfortunate.
Besides the semantic patch, there was some manual work required:
- Fix up the actual hlist iterators in linux/list.h
- Fix up the declaration of other iterators based on the hlist ones.
- A very small amount of places were using the 'node' parameter, this
was modified to use 'obj->member' instead.
- Coccinelle didn't handle the hlist_for_each_entry_safe iterator
properly, so those had to be fixed up manually.
The semantic patch which is mostly the work of Peter Senna Tschudin is here:
@@
iterator name hlist_for_each_entry, hlist_for_each_entry_continue, hlist_for_each_entry_from, hlist_for_each_entry_rcu, hlist_for_each_entry_rcu_bh, hlist_for_each_entry_continue_rcu_bh, for_each_busy_worker, ax25_uid_for_each, ax25_for_each, inet_bind_bucket_for_each, sctp_for_each_hentry, sk_for_each, sk_for_each_rcu, sk_for_each_from, sk_for_each_safe, sk_for_each_bound, hlist_for_each_entry_safe, hlist_for_each_entry_continue_rcu, nr_neigh_for_each, nr_neigh_for_each_safe, nr_node_for_each, nr_node_for_each_safe, for_each_gfn_indirect_valid_sp, for_each_gfn_sp, for_each_host;
type T;
expression a,c,d,e;
identifier b;
statement S;
@@
-T b;
<+... when != b
(
hlist_for_each_entry(a,
- b,
c, d) S
|
hlist_for_each_entry_continue(a,
- b,
c) S
|
hlist_for_each_entry_from(a,
- b,
c) S
|
hlist_for_each_entry_rcu(a,
- b,
c, d) S
|
hlist_for_each_entry_rcu_bh(a,
- b,
c, d) S
|
hlist_for_each_entry_continue_rcu_bh(a,
- b,
c) S
|
for_each_busy_worker(a, c,
- b,
d) S
|
ax25_uid_for_each(a,
- b,
c) S
|
ax25_for_each(a,
- b,
c) S
|
inet_bind_bucket_for_each(a,
- b,
c) S
|
sctp_for_each_hentry(a,
- b,
c) S
|
sk_for_each(a,
- b,
c) S
|
sk_for_each_rcu(a,
- b,
c) S
|
sk_for_each_from
-(a, b)
+(a)
S
+ sk_for_each_from(a) S
|
sk_for_each_safe(a,
- b,
c, d) S
|
sk_for_each_bound(a,
- b,
c) S
|
hlist_for_each_entry_safe(a,
- b,
c, d, e) S
|
hlist_for_each_entry_continue_rcu(a,
- b,
c) S
|
nr_neigh_for_each(a,
- b,
c) S
|
nr_neigh_for_each_safe(a,
- b,
c, d) S
|
nr_node_for_each(a,
- b,
c) S
|
nr_node_for_each_safe(a,
- b,
c, d) S
|
- for_each_gfn_sp(a, c, d, b) S
+ for_each_gfn_sp(a, c, d) S
|
- for_each_gfn_indirect_valid_sp(a, c, d, b) S
+ for_each_gfn_indirect_valid_sp(a, c, d) S
|
for_each_host(a,
- b,
c) S
|
for_each_host_safe(a,
- b,
c, d) S
|
for_each_mesh_entry(a,
- b,
c, d) S
)
...+>
[akpm@linux-foundation.org: drop bogus change from net/ipv4/raw.c]
[akpm@linux-foundation.org: drop bogus hunk from net/ipv6/raw.c]
[akpm@linux-foundation.org: checkpatch fixes]
[akpm@linux-foundation.org: fix warnings]
[akpm@linux-foudnation.org: redo intrusive kvm changes]
Tested-by: Peter Senna Tschudin <peter.senna@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-27 17:06:00 -08:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-23 17:22:55 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-20 00:40:07 -08:00
|
|
|
|
|
|
|
|
|
2008-11-23 17:22:55 -08:00
|
|
|
|
2008-11-20 00:40:07 -08:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-20 20:39:09 -08:00
|
|
|
|
2009-10-09 00:16:19 +00:00
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-09 01:59:42 -07:00
|
|
|
|
2009-02-01 12:31:33 -08:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2008-11-20 00:40:07 -08:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-20 00:40:07 -08:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2008-11-20 00:40:07 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-01 12:31:33 -08:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
[INET]: speedup inet (tcp/dccp) lookups
Arnaldo and I agreed it could be applied now, because I have other
pending patches depending on this one (Thank you Arnaldo)
(The other important patch moves skc_refcnt in a separate cache line,
so that the SMP/NUMA performance doesnt suffer from cache line ping pongs)
1) First some performance data :
--------------------------------
tcp_v4_rcv() wastes a *lot* of time in __inet_lookup_established()
The most time critical code is :
sk_for_each(sk, node, &head->chain) {
if (INET_MATCH(sk, acookie, saddr, daddr, ports, dif))
goto hit; /* You sunk my battleship! */
}
The sk_for_each() does use prefetch() hints but only the begining of
"struct sock" is prefetched.
As INET_MATCH first comparison uses inet_sk(__sk)->daddr, wich is far
away from the begining of "struct sock", it has to bring into CPU
cache cold cache line. Each iteration has to use at least 2 cache
lines.
This can be problematic if some chains are very long.
2) The goal
-----------
The idea I had is to change things so that INET_MATCH() may return
FALSE in 99% of cases only using the data already in the CPU cache,
using one cache line per iteration.
3) Description of the patch
---------------------------
Adds a new 'unsigned int skc_hash' field in 'struct sock_common',
filling a 32 bits hole on 64 bits platform.
struct sock_common {
unsigned short skc_family;
volatile unsigned char skc_state;
unsigned char skc_reuse;
int skc_bound_dev_if;
struct hlist_node skc_node;
struct hlist_node skc_bind_node;
atomic_t skc_refcnt;
+ unsigned int skc_hash;
struct proto *skc_prot;
};
Store in this 32 bits field the full hash, not masked by (ehash_size -
1) Using this full hash as the first comparison done in INET_MATCH
permits us immediatly skip the element without touching a second cache
line in case of a miss.
Suppress the sk_hashent/tw_hashent fields since skc_hash (aliased to
sk_hash and tw_hash) already contains the slot number if we mask with
(ehash_size - 1)
File include/net/inet_hashtables.h
64 bits platforms :
#define INET_MATCH(__sk, __hash, __cookie, __saddr, __daddr, __ports, __dif)\
(((__sk)->sk_hash == (__hash))
((*((__u64 *)&(inet_sk(__sk)->daddr)))== (__cookie)) && \
((*((__u32 *)&(inet_sk(__sk)->dport))) == (__ports)) && \
(!((__sk)->sk_bound_dev_if) || ((__sk)->sk_bound_dev_if == (__dif))))
32bits platforms:
#define TCP_IPV4_MATCH(__sk, __hash, __cookie, __saddr, __daddr, __ports, __dif)\
(((__sk)->sk_hash == (__hash)) && \
(inet_sk(__sk)->daddr == (__saddr)) && \
(inet_sk(__sk)->rcv_saddr == (__daddr)) && \
(!((__sk)->sk_bound_dev_if) || ((__sk)->sk_bound_dev_if == (__dif))))
- Adds a prefetch(head->chain.first) in
__inet_lookup_established()/__tcp_v4_check_established() and
__inet6_lookup_established()/__tcp_v6_check_established() and
__dccp_v4_check_established() to bring into cache the first element of the
list, before the {read|write}_lock(&head->lock);
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Acked-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-10-03 14:13:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-10-09 00:16:19 +00:00
|
|
|
|
2005-08-09 19:59:20 -07:00
|
|
|
|
|
|
|
|
|
2008-11-20 20:39:09 -08:00
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-27 17:45:10 -08:00
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
2008-11-20 20:39:09 -08:00
|
|
|
|
|
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
|
|
|
|
|
2008-11-20 20:39:09 -08:00
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-20 20:39:09 -08:00
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-20 20:39:09 -08:00
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-26 20:23:31 +08:00
|
|
|
|
2007-11-07 02:40:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2008-06-16 17:14:11 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:07:13 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2008-06-16 17:13:08 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
2008-06-16 17:14:11 -07:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-10-15 06:30:45 +00:00
|
|
|
|
2005-08-09 20:00:51 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:07:13 -07:00
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
2005-08-09 20:07:13 -07:00
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
2005-08-09 20:07:13 -07:00
|
|
|
|
2008-11-20 00:40:07 -08:00
|
|
|
|
2005-08-09 20:08:09 -07:00
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:06 -07:00
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-09 15:47:12 -07:00
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
|
|
|
|
|
2013-01-22 09:50:24 +00:00
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
2006-08-09 15:47:12 -07:00
|
|
|
|
2013-01-22 09:50:24 +00:00
|
|
|
|
|
|
|
|
|
2006-08-09 15:47:12 -07:00
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
|
|
|
|
|
2006-09-27 18:43:07 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
|
|
|
|
|
2006-09-27 18:43:07 -07:00
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
|
|
|
|
|
2006-09-27 18:43:07 -07:00
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-27 18:43:07 -07:00
|
|
|
|
|
|
|
|
|
2014-05-13 20:30:07 -07:00
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
|
|
|
|
|
2006-09-27 18:43:07 -07:00
|
|
|
|
|
|
|
|
|
2014-05-13 20:30:07 -07:00
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
2012-11-30 09:49:27 +00:00
|
|
|
|
inet: consolidate INET_TW_MATCH
TCP listener refactoring, part 2 :
We can use a generic lookup, sockets being in whatever state, if
we are sure all relevant fields are at the same place in all socket
types (ESTABLISH, TIME_WAIT, SYN_RECV)
This patch removes these macros :
inet_addrpair, inet_addrpair, tw_addrpair, tw_portpair
And adds :
sk_portpair, sk_addrpair, sk_daddr, sk_rcv_saddr
Then, INET_TW_MATCH() is really the same than INET_MATCH()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-02 04:29:50 -07:00
|
|
|
|
|
|
|
|
|
2012-11-30 09:49:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
2014-05-13 20:30:07 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-30 09:49:27 +00:00
|
|
|
|
inet: consolidate INET_TW_MATCH
TCP listener refactoring, part 2 :
We can use a generic lookup, sockets being in whatever state, if
we are sure all relevant fields are at the same place in all socket
types (ESTABLISH, TIME_WAIT, SYN_RECV)
This patch removes these macros :
inet_addrpair, inet_addrpair, tw_addrpair, tw_portpair
And adds :
sk_portpair, sk_addrpair, sk_daddr, sk_rcv_saddr
Then, INET_TW_MATCH() is really the same than INET_MATCH()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-02 04:29:50 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-30 09:49:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:30 -07:00
|
|
|
|
2005-08-09 20:09:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:46 -07:00
|
|
|
|
2006-08-09 15:47:12 -07:00
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
2006-09-27 18:43:33 -07:00
|
|
|
|
|
|
|
|
|
2006-08-09 15:47:12 -07:00
|
|
|
|
|
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
2006-08-09 15:47:12 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
|
|
|
|
|
2006-09-27 18:43:33 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:46 -07:00
|
|
|
|
|
|
|
|
|
2006-08-09 15:47:12 -07:00
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-22 09:50:24 +00:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:46 -07:00
|
|
|
|
|
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
|
|
|
|
|
2006-09-27 18:43:33 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 20:09:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-31 05:06:40 -08:00
|
|
|
|
2005-08-09 20:09:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-12-13 23:25:31 -08:00
|
|
|
|
2008-10-07 11:41:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-19 21:22:05 -07:00
|
|
|
|
2008-10-07 11:41:57 -07:00
|
|
|
|
|
|
|
|
|
2012-06-19 21:22:05 -07:00
|
|
|
|
2008-10-07 12:41:01 -07:00
|
|
|
|
|
|
|
|
|
2009-06-02 05:19:30 +00:00
|
|
|
|
2008-10-07 12:41:01 -07:00
|
|
|
|
|
|
|
|
|
2008-10-07 11:41:57 -07:00
|
|
|
|
|
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-04 03:46:54 +00:00
|
|
|
|
2013-09-21 10:22:41 -07:00
|
|
|
|
|
|
|
|
|
2005-08-09 19:59:20 -07:00
|
|
|
|