)]}'
{
  "commit": "12e3594698f6c3ab6ebacc79f2fb2ad2bb5952b5",
  "tree": "17915102ba31fd52f0096f77cbb38f587f16b6ec",
  "parents": [
    "e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90"
  ],
  "author": {
    "name": "Michal Kubecek",
    "email": "mkubecek@suse.cz",
    "time": "Thu Oct 17 15:07:40 2013 +0200"
  },
  "committer": {
    "name": "Steffen Klassert",
    "email": "steffen.klassert@secunet.com",
    "time": "Fri Oct 18 10:00:00 2013 +0200"
  },
  "message": "xfrm: prevent ipcomp scratch buffer race condition\n\nIn ipcomp_compress(), sortirq is enabled too early, allowing the\nper-cpu scratch buffer to be rewritten by ipcomp_decompress()\n(called on the same CPU in softirq context) between populating\nthe buffer and copying the compressed data to the skb.\n\nv2: as pointed out by Steffen Klassert, if we also move the\nlocal_bh_disable() before reading the per-cpu pointers, we can\nget rid of get_cpu()/put_cpu().\n\nv3: removed ipcomp_decompress part (as explained by Herbert Xu,\nit cannot be called from process context), get rid of cpu\nvariable (thanks to Eric Dumazet)\n\nSigned-off-by: Michal Kubecek \u003cmkubecek@suse.cz\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@google.com\u003e\nAcked-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2906d520eea7c2b7636fc94f3a60f5131701f57d",
      "old_mode": 33188,
      "old_path": "net/xfrm/xfrm_ipcomp.c",
      "new_id": "3be02b680268d1ccb7e3672a92777b12963b8562",
      "new_mode": 33188,
      "new_path": "net/xfrm/xfrm_ipcomp.c"
    }
  ]
}
