ANDROID: xt_quota2: clear quota2_log message before sending
authorTodd Kjos <tkjos@google.com>
Tue, 17 Aug 2021 20:29:23 +0000 (13:29 -0700)
committerTodd Kjos <tkjos@google.com>
Mon, 1 Nov 2021 23:54:11 +0000 (16:54 -0700)
commit8c55157c6eec4ffceb0a2d1d4d25dee1ec21dcff
tree3fbe1f8bc64368467a5680e66f76fbec0a80fdc8
parent1077ef7ab84c9914b3cec1ba62d3566eaf668346
ANDROID: xt_quota2: clear quota2_log message before sending

Initialize message buffer for quota2_log to avoid sending
random data.

Bug: 196046570
Test: passed netd test suites
Fixes: 10cda83af99d ("ANDROID: netfilter: xt_quota2: adding the
original quota2 from xtables-addons")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: Ic9f34aaa2593809b375fc649b74567190c99dc62
net/netfilter/xt_quota2.c