)]}'
{
  "commit": "8444cf712c5f71845cba9dc30d8f530ff0d5ff83",
  "tree": "3283983551829eb3f985a92d49ec65ac8e487268",
  "parents": [
    "842c74bffcdb1d305ccd9e61e417cceae86b9963"
  ],
  "author": {
    "name": "Thomas Egerer",
    "email": "thomas.egerer@secunet.com",
    "time": "Mon Sep 20 11:11:38 2010 -0700"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Mon Sep 20 11:11:38 2010 -0700"
  },
  "message": "xfrm: Allow different selector family in temporary state\n\nThe family parameter xfrm_state_find is used to find a state matching a\ncertain policy. This value is set to the template\u0027s family\n(encap_family) right before xfrm_state_find is called.\nThe family parameter is however also used to construct a temporary state\nin xfrm_state_find itself which is wrong for inter-family scenarios\nbecause it produces a selector for the wrong family. Since this selector\nis included in the xfrm_user_acquire structure, user space programs\nmisinterpret IPv6 addresses as IPv4 and vice versa.\nThis patch splits up the original init_tempsel function into a part that\ninitializes the selector respectively the props and id of the temporary\nstate, to allow for differing ip address families whithin the state.\n\nSigned-off-by: Thomas Egerer \u003cthomas.egerer@secunet.com\u003e\nSigned-off-by: Steffen Klassert \u003csteffen.klassert@secunet.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fc8f36dd0f5c5145932c45aa8e9f441697dcb0ec",
      "old_mode": 33188,
      "old_path": "include/net/xfrm.h",
      "new_id": "4f53532d4c2f0f6e20d200fabafe1ac51dd1632c",
      "new_mode": 33188,
      "new_path": "include/net/xfrm.h"
    },
    {
      "type": "modify",
      "old_id": "1ef1366a0a03775eed25ab5ef0b083aed593726e",
      "old_mode": 33188,
      "old_path": "net/ipv4/xfrm4_state.c",
      "new_id": "47947624eccc58fe7fcfcdbff19fb655a07ddedc",
      "new_mode": 33188,
      "new_path": "net/ipv4/xfrm4_state.c"
    },
    {
      "type": "modify",
      "old_id": "f417b77fa0e15762715a9498974fbd8f5071401d",
      "old_mode": 33188,
      "old_path": "net/ipv6/xfrm6_state.c",
      "new_id": "a67575d472a320f306002a88959f0d0f9a73af09",
      "new_mode": 33188,
      "new_path": "net/ipv6/xfrm6_state.c"
    },
    {
      "type": "modify",
      "old_id": "2b3ed7ad49338f3ec2d64caf1dd589c2aefc4264",
      "old_mode": 33188,
      "old_path": "net/xfrm/xfrm_policy.c",
      "new_id": "cbab6e1a8c9c4043fcfdba5bdc17c5e9d5dea45c",
      "new_mode": 33188,
      "new_path": "net/xfrm/xfrm_policy.c"
    },
    {
      "type": "modify",
      "old_id": "5208b12fbfb4942d4142f79ddb41ccb1420a4c93",
      "old_mode": 33188,
      "old_path": "net/xfrm/xfrm_state.c",
      "new_id": "eb96ce52f1789dd881116e76a08169189b50f02c",
      "new_mode": 33188,
      "new_path": "net/xfrm/xfrm_state.c"
    }
  ]
}
