Re: [PATCH net-next] netdev: remove useless codes of tun_automq_select_queue

2018-10-08 Thread David Miller
From: Wang Li Date: Mon, 8 Oct 2018 16:51:12 +0800 > @@ -1045,15 +1039,12 @@ static void tun_automq_xmit(struct tun_struct *tun, > struct sk_buff *skb) >* RPS hash and save it into the flow_table here. >*/ > __u32 rxhash; > + struct

[PATCH net-next] netdev: remove useless codes of tun_automq_select_queue

2018-10-08 Thread Wang Li
Because the function __skb_get_hash_symmetric always returns non-zero. Signed-off-by: Zhang Yu Signed-off-by: Wang Li --- drivers/net/tun.c | 35 +-- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index

[PATCH net-next] netdev: remove useless codes of tun_automq_select_queue

2018-10-08 Thread Wang Li
Because the function __skb_get_hash_symmetric always returns non-zero. Signed-off-by: Zhang Yu Signed-off-by: Wang Li --- drivers/net/tun.c | 35 +-- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index