)]}'
{
  "commit": "b4fe0ec86dae91abfa9f932cd0e2e9d50e336c8b",
  "tree": "a40109b4861da4da8fff62c37bac63907c2e1600",
  "parents": [
    "95782bf434437b3292f5cb9ce21b53bdbc1beda1"
  ],
  "author": {
    "name": "Markos Chandras",
    "email": "markos.chandras@imgtec.com",
    "time": "Mon Jun 23 10:38:58 2014 +0100"
  },
  "committer": {
    "name": "Ralf Baechle",
    "email": "ralf@linux-mips.org",
    "time": "Thu Jun 26 10:48:22 2014 +0100"
  },
  "message": "MIPS: bpf: Fix PKT_TYPE case for big-endian cores\n\nThe skb-\u003epkt_type field is defined as follows:\n\nu8 pkt_type:3,\n   fclone:2,\n   ipvs_property:1,\n   peeked:1,\n   nf_trace:1\n\nresulting to the following layout in big-endian systems\n\n[pkt_type][fclone][ipvs_propery][peeked][nf_trace]\n^                                                ^\n|                                                |\nLSB                                             MSB\n\nAs a result, the existing code did not work because it was trying to\nmatch pkt_type \u003d\u003d 7 whereas in reality it is 7\u003c\u003c5 on big-endian\nsystems.\n\nThis has been fixed in the interpreter in\n0dcceabb0c1bf2d4c12a748df9933fad303072a7\n\"net: filter: fix SKF_AD_PKTTYPE extension on big-endian\"\n\nThe fix is to look for 7\u003c\u003c5 on big-endian systems for the pkt_type\nfield, and shift by 5 so the packet type will be at the lower 3 bits\nof the A register.\n\nSigned-off-by: Markos Chandras \u003cmarkos.chandras@imgtec.com\u003e\nCc: David S. Miller \u003cdavem@davemloft.net\u003e\nCc: Daniel Borkmann \u003cdborkman@redhat.com\u003e\nCc: Alexei Starovoitov \u003cast@plumgrid.com\u003e\nCc: netdev@vger.kernel.org\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/7132/\nSigned-off-by: Ralf Baechle \u003cralf@linux-mips.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9476e7f061a1cc6ad65e775f7b2385c49116f52e",
      "old_mode": 33188,
      "old_path": "arch/mips/net/bpf_jit.c",
      "new_id": "4505e2e6ab53db7f3e5c715f1047a4d6aa8fca32",
      "new_mode": 33188,
      "new_path": "arch/mips/net/bpf_jit.c"
    }
  ]
}
