)]}'
{
  "commit": "13ee6ac579574a2a95e982b19920fd2495dce8cd",
  "tree": "b1cfcae34d29ce1494254d814fc92e23a426ef71",
  "parents": [
    "83723d60717f8da0f53f91cf42a845ed56c09662"
  ],
  "author": {
    "name": "Stephen Hemminger",
    "email": "shemminger@vyatta.com",
    "time": "Tue Jan 11 23:54:42 2011 +0100"
  },
  "committer": {
    "name": "Pablo Neira Ayuso",
    "email": "pablo@netfilter.org",
    "time": "Tue Jan 11 23:54:42 2011 +0100"
  },
  "message": "netfilter: fix race in conntrack between dump_table and destroy\n\nThe netlink interface to dump the connection tracking table has a race\nwhen entries are deleted at the same time. A customer reported a crash\nand the backtrace showed thatctnetlink_dump_table was running while a\nconntrack entry was being destroyed.\n(see https://bugzilla.vyatta.com/show_bug.cgi?id\u003d6402).\n\nAccording to RCU documentation, when using hlist_nulls the reader\nmust handle the case of seeing a deleted entry and not proceed\nfurther down the linked list.  The old code would continue\nwhich caused the scan to walk into the free list.\n\nThis patch uses locking (rather than RCU) for this operation which\nis guaranteed safe, and no longer requires getting reference while\ndoing dump operation.\n\nSigned-off-by: Stephen Hemminger \u003cshemminger@vyatta.com\u003e\nSigned-off-by: Pablo Neira Ayuso \u003cpablo@netfilter.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "746140264b2d49b12aaa4fe975f50939be4ce728",
      "old_mode": 33188,
      "old_path": "net/netfilter/nf_conntrack_netlink.c",
      "new_id": "5cb8d3027b18b1cb990229a30db52a3e8004fe1a",
      "new_mode": 33188,
      "new_path": "net/netfilter/nf_conntrack_netlink.c"
    }
  ]
}
