From: Paolo Abeni <pab...@redhat.com> Date: Fri, 20 Apr 2018 13:18:16 +0200
> Currently, the tun driver, in absence of an eBPF steering program, > always compute the rxhash in its rx path, even when such value > is later unused due to additional checks ( > > This changeset moves the all the related checks just before the > __skb_get_hash_symmetric(), so that the latter is no more computed > when unneeded. > > Also replace an unneeded RCU section with rcu_access_pointer(). > > Signed-off-by: Paolo Abeni <pab...@redhat.com> Applied, thank you.