summaryrefslogtreecommitdiff
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2020-08-17 14:17:23 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2020-08-21 11:10:25 +0000
commit59f04f292e871fb7fd7b3425d7fd3fd489a44078 (patch)
tree264a842c35b9d2215574a6637eb306f935dc9bf0 /net/ipv6/udp.c
parent5980066824e94701efef1b8c7e1b637e1efa4c96 (diff)
ANDROID: fix a bug in quota2
If quota is precisely equal to skb->len then a notification would not be sent due to immediately hitting 0. This fixes that, and takes the opportunity to slightly clean up the code and make quota behave more correctly for packet mode as well. Test: builds, net tests continue to pass Bug: 164336990 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I78a11b48794496255513a6226c0469d809d7aa56 (cherry picked from commit b20eacd8ddbd1dbf403df94f5ba6384e6fef0113)
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions