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

Commit fbae0a7a 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: db03d164

Change-Id: Ifa84b7b45c30f28c35b9c0418aad7cd38434ce63
parents 2bf64d35 db03d164
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;