diff options
author | Pablo Neira Ayuso <[email protected]> | 2016-12-11 20:09:23 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2016-12-14 23:38:51 +0100 |
commit | 8010d7feb2f0367ae573ad601b2905e29db50cd3 (patch) | |
tree | 5a53a2cd004e8fa0acc36b5743c2ab19f105a344 /tools/perf/scripts/python | |
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions