)]}'
{
  "commit": "876119e5ff899365b35f7a6949665d9eaaa10fbc",
  "tree": "aa2c5426f18c5a746a2a5da92f5fb8302026f874",
  "parents": [
    "fb1c56d1d26a97cc868fc62de26143264f004e03"
  ],
  "author": {
    "name": "Valentin Longchamp",
    "email": "valentin@longchamp.me",
    "time": "Wed May 20 17:53:50 2020 +0200"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Sun Jun 07 13:17:56 2020 +0200"
  },
  "message": "net/ethernet/freescale: rework quiesce/activate for ucc_geth\n\n[ Upstream commit 79dde73cf9bcf1dd317a2667f78b758e9fe139ed ]\n\nugeth_quiesce/activate are used to halt the controller when there is a\nlink change that requires to reconfigure the mac.\n\nThe previous implementation called netif_device_detach(). This however\ncauses the initial activation of the netdevice to fail precisely because\nit\u0027s detached. For details, see [1].\n\nA possible workaround was the revert of commit\nnet: linkwatch: add check for netdevice being present to linkwatch_do_dev\nHowever, the check introduced in the above commit is correct and shall be\nkept.\n\nThe netif_device_detach() is thus replaced with\nnetif_tx_stop_all_queues() that prevents any tranmission. This allows to\nperform mac config change required by the link change, without detaching\nthe corresponding netdevice and thus not preventing its initial\nactivation.\n\n[1] https://lists.openwall.net/netdev/2020/01/08/201\n\nSigned-off-by: Valentin Longchamp \u003cvalentin@longchamp.me\u003e\nAcked-by: Matteo Ghidoni \u003cmatteo.ghidoni@ch.abb.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a5bf02ae4bc5c15e808caac7199de871eaad88e8",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/freescale/ucc_geth.c",
      "new_id": "5de6f7c73c1fad04875fceb52eb0662d3513cf70",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/freescale/ucc_geth.c"
    }
  ]
}
