netfilter: nf_flow_table: remove unnecessary nat flag check code
authorTaehee Yoo <ap420073@gmail.com>
Mon, 24 Sep 2018 15:38:28 +0000 (00:38 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 28 Sep 2018 12:28:38 +0000 (14:28 +0200)
commit28c5ed2f93105ee1d3de6b79035e507c4ada68c9
treea367e4dfe0e43dec9b0a22affa596f3f54a80392
parentb473a1f5ddee5f73392c387940f4fbcbabfc3431
netfilter: nf_flow_table: remove unnecessary nat flag check code

nf_flow_offload_{ip/ipv6}_hook() check nat flag then, call
nf_flow_nat_{ip/ipv6} but that also check nat flag. so that
nat flag check code in nf_flow_offload_{ip/ipv6}_hook() are unnecessary.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_ip.c