[PATCH nf-next v3 2/2] netfilter: nft_hash: support of symmetric hash

2017-03-02 Thread Laura Garcia Liebana
This patch provides symmetric hash support according to source ip address and port, and destination ip address and port. For this purpose, the __skb_get_hash_symmetric() is used to identify the flow as it uses FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL flag by default. The new attribute NFTA_HASH_TYPE h

Re: [PATCH nf-next v3 2/2] netfilter: nft_hash: support of symmetric hash

2017-03-06 Thread Pablo Neira Ayuso
On Thu, Mar 02, 2017 at 05:00:14PM +0100, Laura Garcia Liebana wrote: > This patch provides symmetric hash support according to source > ip address and port, and destination ip address and port. > > For this purpose, the __skb_get_hash_symmetric() is used to > identify the flow as it uses FLOW_DIS