Re: [PATCH 1/1] Fix dst_neigh_lookup/dst_neigh_lookup_skb return value handling bug

2013-03-14 Thread Cong Wang
On Thu, 14 Mar 2013 at 03:41 GMT, Zhouyi Zhou zhouzho...@gmail.com wrote: Tested on my x86_64 machine Signed-off-by: Zhouyi Zhou zhouzho...@gmail.com --- drivers/infiniband/hw/cxgb4/cm.c | 12 include/net/dst.h|6 -- 2 files changed, 16 insertions(+),

Re: [patch net-next 01/16] net: introduce upper device lists

2012-08-14 Thread Cong Wang
On 08/13/2012 11:27 PM, Jiri Pirko wrote: This lists are supposed to serve for storing pointers to all upper devices. Eventually it will replace dev-master pointer which is used for bonding, bridge, team but it cannot be used for vlan, macvlan where there might be multiple masters present. New

[PATCH 16/60] infiniband: remove the second argument of k[un]map_atomic()

2012-02-09 Thread Cong Wang
Acked-by: Roland Dreier rol...@purestorage.com Signed-off-by: Cong Wang amw...@redhat.com --- drivers/infiniband/ulp/iser/iser_memory.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/ulp/iser/iser_memory.c b/drivers/infiniband/ulp/iser

Re: [PATCH 16/62] infiniband: remove the second argument of k[un]map_atomic()

2011-11-27 Thread Cong Wang
于 2011年11月28日 15:38, Roland Dreier 写道: These look fine, given the second argument is unused. So Acked-by: Roland Dreierrol...@purestorage.com Thanks, Roland! ... or is there some point when thelinux/highmem.h part is going in and where it makes sense for me to apply this through my tree?

[PATCH 16/62] infiniband: remove the second argument of k[un]map_atomic()

2011-11-26 Thread Cong Wang
Signed-off-by: Cong Wang amw...@redhat.com --- drivers/infiniband/ulp/iser/iser_memory.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/ulp/iser/iser_memory.c b/drivers/infiniband/ulp/iser/iser_memory.c index fb88d68..2033a92 100644

Re: [Patch] infiniband: check local reserved ports

2010-06-07 Thread Cong Wang
On 06/07/10 23:45, Roland Dreier wrote: So this patch looks good for you? :) Yes, will queue it up, thanks. Thanks! -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [Patch] infiniband: check local reserved ports

2010-06-03 Thread Cong Wang
On 06/04/10 00:39, Roland Dreier wrote: Since Tetsuo's patch already got merged, now this is the missing part for local port reservation. Cc: Roland Dreierrdre...@cisco.com Cc: Tetsuo Handapenguin-ker...@i-love.sakura.ne.jp Signed-off-by: WANG Congamw...@redhat.com

Re: [PATCH] rdma/cm: Randomize local port allocation.

2010-04-15 Thread Cong Wang
Sean Hefty wrote: From: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Randomize local port allocation in a way sctp_get_port_local() does. Update rover at the end of loop since we're likely to pick a valid port on the first try. Signed-off-by: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp

Re: [RFC Patch v2] net: reserve ports for applications using fixed port numbers

2010-02-04 Thread Cong Wang
Tetsuo Handa wrote: Hello. Amerigo Wang wrote: diff --git a/net/ipv4/inet_hashtables.c b/net/ipv4/inet_hashtables.c index 2b79377..d3e160a 100644 --- a/net/ipv4/inet_hashtables.c +++ b/net/ipv4/inet_hashtables.c @@ -456,6 +456,8 @@ int __inet_hash_connect(struct inet_timewait_death_row

Re: [RFC Patch] net: reserve ports for applications using fixed port numbers

2010-02-04 Thread Cong Wang
Octavian Purdila wrote: On Friday 05 February 2010 02:41:12 you wrote: David Miller wrote: Octavian Purdila wrote: int inet_is_reserved_local_port(int port) { if (test_bit(port, reserved_ports)) return 1; return 0; } Above check is exactly what I'm doing in

Re: [RFC Patch] net: reserve ports for applications using fixed port numbers

2010-02-04 Thread Cong Wang
Bart Van Assche wrote: On Wed, Feb 3, 2010 at 5:30 AM, Amerigo Wang amw...@redhat.com wrote: This patch introduces /proc/sys/net/ipv4/ip_local_reserved_ports, it can be used like ip_local_port_range, but this is used to reserve ports for third-party applications which use fixed port numbers

Re: [RFC Patch] net: reserve ports for applications using fixed port numbers

2010-02-03 Thread Cong Wang
Octavian Purdila wrote: On Wednesday 03 February 2010 06:30:07 you wrote: This patch introduces /proc/sys/net/ipv4/ip_local_reserved_ports, it can be used like ip_local_port_range, but this is used to reserve ports for third-party applications which use fixed port numbers within

Re: [RFC Patch] net: reserve ports for applications using fixed port numbers

2010-02-02 Thread Cong Wang
Eric Dumazet wrote: Le mardi 02 février 2010 à 23:30 -0500, Amerigo Wang a écrit : This patch introduces /proc/sys/net/ipv4/ip_local_reserved_ports, it can be used like ip_local_port_range, but this is used to reserve ports for third-party applications which use fixed port numbers within