)]}'
{
  "commit": "22f0708a718daea5e79de2d29b4829de016a4ff4",
  "tree": "35e054844dbe613ad258b23a3315da0bced7b042",
  "parents": [
    "5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4"
  ],
  "author": {
    "name": "Paolo Abeni",
    "email": "pabeni@redhat.com",
    "time": "Fri Feb 17 19:14:27 2017 +0100"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Fri Feb 17 15:32:06 2017 -0500"
  },
  "message": "vxlan: fix oops in dev_fill_metadata_dst\n\nSince the commit 0c1d70af924b (\"net: use dst_cache for vxlan device\")\nvxlan_fill_metadata_dst() calls vxlan_get_route() passing a NULL\ndst_cache pointer, so the latter should explicitly check for\nvalid dst_cache ptr. Unfortunately the commit d71785ffc7e7 (\"net: add\ndst_cache to ovs vxlan lwtunnel\") removed said check.\n\nAs a result is possible to trigger a null pointer access calling\nvxlan_fill_metadata_dst(), e.g. with:\n\novs-vsctl add-br ovs-br0\novs-vsctl add-port ovs-br0 vxlan0 -- set interface vxlan0 \\\n\ttype\u003dvxlan options:remote_ip\u003d192.168.1.1 \\\n\toptions:key\u003d1234 options:dst_port\u003d4789 ofport_request\u003d10\nip address add dev ovs-br0 172.16.1.2/24\novs-vsctl set Bridge ovs-br0 ipfix\u003d@i -- --id\u003d@i create IPFIX \\\n\ttargets\u003d\\\"172.16.1.1:1234\\\" sampling\u003d1\niperf -c 172.16.1.1 -u -l 1000 -b 10M -t 1 -p 1234\n\nThis commit addresses the issue passing to vxlan_get_route() the\ndst_cache already available into the lwt info processed by\nvxlan_fill_metadata_dst().\n\nFixes: d71785ffc7e7 (\"net: add dst_cache to ovs vxlan lwtunnel\")\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\nAcked-by: Jiri Benc \u003cjbenc@redhat.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "50b62db213b0568aee2106492fbb216741a0561a",
      "old_mode": 33188,
      "old_path": "drivers/net/vxlan.c",
      "new_id": "30b04cf2bb1e08f89ac93c086b17bf8d59df6b37",
      "new_mode": 33188,
      "new_path": "drivers/net/vxlan.c"
    }
  ]
}
