aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2020-02-13 12:14:47 +1000
committerSteve French <stfrench@microsoft.com>2020-02-14 11:10:24 -0600
commit85db6b7ae65f33be4bb44f1c28261a3faa126437 (patch)
tree8eeef4c0aaf7b1e1906872651569ce5aa52d524a /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parent2c6251ad91afc2e3c671c904702e8d121d3d50c0 (diff)
cifs: make sure we do not overflow the max EA buffer size
RHBZ: 1752437 Before we add a new EA we should check that this will not overflow the maximum buffer we have available to read the EAs back. Otherwise we can get into a situation where the EAs are so big that we can not read them back to the client and thus we can not list EAs anymore or delete them. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions