Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f2941fd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Do not stop FdEventsReader on handlePacket error" into rvc-dev am:...

Merge "Do not stop FdEventsReader on handlePacket error" into rvc-dev am: db03d164 am: fbae0a7a am: f31dd841

Change-Id: I9bce8017435abedf9a7b1ea10440332545dd06d4
parents b3f84f55 f31dd841
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ public class NetlinkMonitor extends PacketReader {
                }

                processNetlinkMessage(nlMsg, whenMs);
            } catch (Throwable e) {
            } catch (Exception e) {
                mLog.e("Error handling netlink message", e);
            }
        }
+1 −2
Original line number Diff line number Diff line
@@ -245,8 +245,7 @@ public abstract class FdEventsReader<BufferType> {
                handlePacket(mBuffer, bytesRead);
            } catch (Exception e) {
                logError("handlePacket error: ", e);
                Log.wtf(FdEventsReader.class.getSimpleName(), "Error handling packet: stopping", e);
                break;
                Log.wtf(FdEventsReader.class.getSimpleName(), "Error handling packet", e);
            }
        }

+1 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ public class IpReachabilityMonitor {

            // Find all the neighbors that have gone into FAILED state.
            // Ignore entries for which we have never received an event. If there are neighbors
            // that never respond to ARP/ND, the kernel will send several FAILED event, then
            // that never respond to ARP/ND, the kernel will send several FAILED events, then
            // an INCOMPLETE event, and then more FAILED events. The INCOMPLETE event will
            // populate the map and the subsequent FAILED event will be processed.
            if (val == null || val.nudState != StructNdMsg.NUD_FAILED) continue;