ANDROID: xt_quota2: set usersize in xt_match registration object
authorTodd Kjos <tkjos@google.com>
Tue, 17 Aug 2021 21:23:28 +0000 (14:23 -0700)
committerPDO SCM Team <hudsoncm@motorola.com>
Mon, 6 Dec 2021 08:56:26 +0000 (03:56 -0500)
commitb35eef0c8f3516a34a1075c2deb8503bef72237f
tree772c83f800edef921799712dc6fd607b8fa3f62d
parenta4d76c40c682b346744530d8b99889d30c0a95ff
ANDROID: xt_quota2: set usersize in xt_match registration object

Explicitly set what is visible to userspace

Mot-CRs-fixed: (CR)
CVE-Fixed: CVE-2021-0961

Bug: 196046570
Test: passed netd test suites
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: Iacec0ef8ae290e01f1b60508d8abcd40a3653c83
Signed-off-by: Gajjala Chakradhar <gajjalac@motorola.com>
Reviewed-on: https://gerrit.mot.com/2123624
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit ecdb616924dfa15dc1bc9948a08801f20680c714)
net/netfilter/xt_quota2.c