diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-12-13 16:53:09 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-12-17 22:58:28 +0100 |
commit | 7e03998429ee0a27c13b8690c11f9cf40f67f6e9 (patch) | |
tree | 865d476d59407494c68ddd1476021bf6cfba9114 /net/netfilter/nf_conntrack_extend.c | |
parent | 73239bd9707ab2f3b7621e50468c14410cf4e2c2 (diff) |
netfilter: nft_tunnel: add the missing nla_nest_cancel()
When nla_put_xxx() fails under nla_nest_start_noflag(),
nla_nest_cancel() should be called, so that the skb can
be trimmed properly.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_extend.c')
0 files changed, 0 insertions, 0 deletions