Re: [net-next,1/2] net: Set sk_txhash from a random number

2015-12-09 Thread Alexander Drozdov
08.12.2015 19:33, Tom Herbert wrote: On Tue, Dec 8, 2015 at 5:15 AM, Eric Dumazet wrote: There never has been such guarantee. Even rx hashes for a single TCP flow can differ, if packets are received on two different NIC with different RSSS keys. +1, it is a salient property that hashes can di

Re: [net-next,1/2] net: Set sk_txhash from a random number

2015-12-08 Thread Alexander Drozdov
29.07.2015 02:02, Tom Herbert wrote: This patch creates sk_set_txhash and eliminates protocol specific inet_set_txhash and ip6_set_txhash. sk_set_txhash simply sets a random number instead of performing flow dissection. sk_set_txash is also allowed to be called multiple times for the same socket

[PATCH] packet: tpacket_snd(): fix signed/unsigned comparison

2015-07-28 Thread Alexander Drozdov
to just returning an incorrect EMSGSIZE errno to the user. Signed-off-by: Alexander Drozdov --- net/packet/af_packet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index c9e8741..d1d3625 100644 --- a/net/packet/af_packe

Re: [RESUBMIT Patch 1/1] net: replace if()/BUG with BUG_ON

2015-06-17 Thread Alexander Drozdov
On Wed, 17 Jun 2015 09:36:11 +0200, Frans Klaver wrote: On Wed, Jun 17, 2015 at 6:36 AM, Maninder Singh wrote: Use BUG_ON(condition) instead of if(condition)/BUG() . Signed-off-by: Maninder Singh Reviewed-by: Akhilesh Kumar --- net/packet/af_packet.c |3 +-- 1 files changed, 1 inserti