commit | 0cfcfac12d991f96150c66a797fa03d448771e1b | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@google.com> | Mon Aug 05 15:51:46 2024 -0700 |
committer | Bart Van Assche <bvanassche@google.com> | Mon Aug 05 15:56:16 2024 -0700 |
tree | 8baae17e241339dcbd253b6b60313159820e73d1 | |
parent | 6fe3618e7c2e9fc563d97fa4c77de27d79f95262 [diff] |
libhealthloop: Handle netlink receive buffer overflows The Linux kernel netlink implementation sets EPOLLERR if delivery of a netlink message fails because of a buffer overrun (see also the Linux kernel netlink_overrun() and sock_def_error_report() functions). Handle buffer overruns by calling ScheduleBatteryUpdate() unconditionally. Bug: 203462310 Change-Id: I54f7d239e6b4caad0db4d1b15de7c0385f796ebd Signed-off-by: Bart Van Assche <bvanassche@google.com>