)]}'
{
  "commit": "a1eae149f5191516d3a5b795bd0b0cf81c2fdcce",
  "tree": "e820b0a5dc41d924faa604ede2b9218a41612687",
  "parents": [
    "f707926ec0a4c68010c3cfabbaf27ae4ad039b0f"
  ],
  "author": {
    "name": "Miroslav Lichvar",
    "email": "mlichvar@redhat.com",
    "time": "Tue Mar 04 15:53:37 2025 +0100"
  },
  "committer": {
    "name": "Richard Cochran",
    "email": "richardcochran@gmail.com",
    "time": "Thu Sep 04 05:19:10 2025 -0700"
  },
  "message": "port: Refresh link status on faults.\n\nptp4l gets the ENOBUFS error on the netlink socket when the kernel has\nto drop messages due to full socket buffer. If ptp4l has a port in the\nfaulty state waiting for the link to go up and that event corresponds\nto one of the dropped netlink messages, the port will be stuck in the\nfaulty state until the link goes down and up again.\n\nTo prevent the port from getting stuck, request the current link status\nwhen dispatching the EV_FAULT_DETECTED event. Also, reopen the socket to\nget rid of the buffered messages when handling the fault and again when\nreinitializing the port.\n\nSigned-off-by: Miroslav Lichvar \u003cmlichvar@redhat.com\u003e\nReviewed-by: Jacob Keller \u003cjacob.e.keller@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "623b520b9187e22a9b829f69f86084fef9f62496",
      "old_mode": 33188,
      "old_path": "port.c",
      "new_id": "a1d0f2c2348b5b0bb593bfd6f3db0ede70daf0d6",
      "new_mode": 33188,
      "new_path": "port.c"
    }
  ]
}
