diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-12-11 20:09:23 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-12-14 23:38:51 +0100 |
commit | 8010d7feb2f0367ae573ad601b2905e29db50cd3 (patch) | |
tree | 5a53a2cd004e8fa0acc36b5743c2ab19f105a344 /mm/hugetlb.c | |
parent | a220871be66f99d8957c693cf22ec67ecbd9c23a (diff) |
netfilter: nft_quota: reset quota after dump
Dumping of netlink attributes may fail due to insufficient room in the
skbuff, so let's reset consumed quota if we succeed to put netlink
attributes into the skbuff.
Fixes: 43da04a593d8 ("netfilter: nf_tables: atomic dump and reset for stateful objects")
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions