summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_recovery.c
diff options
context:
space:
mode:
authorPhil Sutter2019-05-15 20:15:32 +0200
committerPablo Neira Ayuso2019-05-21 16:10:38 +0200
commite633508a95289489d28faacb68b32c3e7e68ef6f (patch)
tree20b9a690f78aad5c43b12e7569cf3e0e26a44169 /net/ipv4/tcp_recovery.c
parentnetfilter: nf_queue: fix reinject verdict handling (diff)
downloadkernel-qcow2-linux-e633508a95289489d28faacb68b32c3e7e68ef6f.tar.gz
kernel-qcow2-linux-e633508a95289489d28faacb68b32c3e7e68ef6f.tar.xz
kernel-qcow2-linux-e633508a95289489d28faacb68b32c3e7e68ef6f.zip
netfilter: nft_fib: Fix existence check support
NFTA_FIB_F_PRESENT flag was not always honored since eval functions did not call nft_fib_store_result in all cases. Given that in all callsites there is a struct net_device pointer available which holds the interface data to be stored in destination register, simplify nft_fib_store_result() to just accept that pointer instead of the nft_pktinfo pointer and interface index. This also allows to drop the index to interface lookup previously needed to get the name associated with given index. Fixes: 055c4b34b94f6 ("netfilter: nft_fib: Support existence check") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/tcp_recovery.c')
0 files changed, 0 insertions, 0 deletions