)]}'
{
  "commit": "bd414ee605ff3ac5fcd79f57269a897879ee4cde",
  "tree": "3cff5d1f3fd43791341e9cde23dabb4dfbc94bd3",
  "parents": [
    "135367b8f6a18507af6b9a6910a14b5699415309"
  ],
  "author": {
    "name": "Jan Engelhardt",
    "email": "jengelh@medozas.de",
    "time": "Tue Mar 23 16:35:56 2010 +0100"
  },
  "committer": {
    "name": "Jan Engelhardt",
    "email": "jengelh@medozas.de",
    "time": "Thu Mar 25 16:55:24 2010 +0100"
  },
  "message": "netfilter: xtables: change matches to return error code\n\nThe following semantic patch does part of the transformation:\n// \u003csmpl\u003e\n@ rule1 @\nstruct xt_match ops;\nidentifier check;\n@@\n ops.checkentry \u003d check;\n\n@@\nidentifier rule1.check;\n@@\n check(...) { \u003c...\n-return true;\n+return 0;\n ...\u003e }\n\n@@\nidentifier rule1.check;\n@@\n check(...) { \u003c...\n-return false;\n+return -EINVAL;\n ...\u003e }\n// \u003c/smpl\u003e\n\nSigned-off-by: Jan Engelhardt \u003cjengelh@medozas.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7b6f4c4cccb74214b39c9ff75ee1ea55593b6202",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_802_3.c",
      "new_id": "f7de8dbc3422bb22a3d64fc3baf9db4cd2ce4040",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_802_3.c"
    },
    {
      "type": "modify",
      "old_id": "8a75d399b510e027642620c64f1f9277faf72844",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_among.c",
      "new_id": "20068e03fa81674a40fac84f44c33dd125a46eda",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_among.c"
    },
    {
      "type": "modify",
      "old_id": "fc62055adb170aa8fe4b0533b43856d382740b3e",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_arp.c",
      "new_id": "952150cd5e7d1a713c4e153809a31350a643d378",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_arp.c"
    },
    {
      "type": "modify",
      "old_id": "d1a555dc8878e4c66af8e7339982afd8b869ce1b",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_ip.c",
      "new_id": "a1c76c7e5219db51f0042eef9a9d03ac18f69279",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_ip.c"
    },
    {
      "type": "modify",
      "old_id": "fa4ecf50fdc97a6b62e5aea512428a4314ede85f",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_ip6.c",
      "new_id": "33f8413f05ad1e323d001ce214e301585014d00f",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_ip6.c"
    },
    {
      "type": "modify",
      "old_id": "abfb0ecd7c17d361c8f303cf45e31bbc2116187c",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_limit.c",
      "new_id": "4b0e2e53fa57d4e6dd2774b99229daf210d5bab4",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_limit.c"
    },
    {
      "type": "modify",
      "old_id": "1e5b0b316fbe663e196fcc0172b752de6deaea2b",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_mark_m.c",
      "new_id": "e4366c0a1a43d615cca39c3174506a15b4ef3965",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_mark_m.c"
    },
    {
      "type": "modify",
      "old_id": "9b3c64516605ab3607dbf811fc0812e9698f791b",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_pkttype.c",
      "new_id": "f34bcc3197bd712b1f96b0509b99c402f2e189ea",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_pkttype.c"
    },
    {
      "type": "modify",
      "old_id": "521186fa6994f6c8ba0a2f47184d0d13d4da51fc",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_stp.c",
      "new_id": "02f28fdda393b366a296151dccc9047e01476249",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_stp.c"
    },
    {
      "type": "modify",
      "old_id": "04a9575389d82057cef69230c140e6a32c284d8c",
      "old_mode": 33188,
      "old_path": "net/bridge/netfilter/ebt_vlan.c",
      "new_id": "bf8ae5c7a0c5501fcc4f583a5a984511519b951c",
      "new_mode": 33188,
      "new_path": "net/bridge/netfilter/ebt_vlan.c"
    },
    {
      "type": "modify",
      "old_id": "771ffa7b9aff4474eee953a0038b6d1ac69048e7",
      "old_mode": 33188,
      "old_path": "net/ipv4/netfilter/ip_tables.c",
      "new_id": "18c5b1573f3e6d529cab4d13bf00f723cdae45a8",
      "new_mode": 33188,
      "new_path": "net/ipv4/netfilter/ip_tables.c"
    },
    {
      "type": "modify",
      "old_id": "81197f456d7f2782eec4e1bbadb51c7befa625d8",
      "old_mode": 33188,
      "old_path": "net/ipv4/netfilter/ipt_addrtype.c",
      "new_id": "e4b8f2bf8aaaf94c42270adf23ca597f41bfaa0c",
      "new_mode": 33188,
      "new_path": "net/ipv4/netfilter/ipt_addrtype.c"
    },
    {
      "type": "modify",
      "old_id": "667ded16e12002c4a171727a4ec356c55ded4c0f",
      "old_mode": 33188,
      "old_path": "net/ipv4/netfilter/ipt_ah.c",
      "new_id": "9f98102048925aea2afcabe3bb823cad505149eb",
      "new_mode": 33188,
      "new_path": "net/ipv4/netfilter/ipt_ah.c"
    },
    {
      "type": "modify",
      "old_id": "d1e234fe7f1ad27f4dae665d89e45709647b33d4",
      "old_mode": 33188,
      "old_path": "net/ipv4/netfilter/ipt_ecn.c",
      "new_id": "32e24100d8d1ee51b9fa94c62069519bab004e07",
      "new_mode": 33188,
      "new_path": "net/ipv4/netfilter/ipt_ecn.c"
    },
    {
      "type": "modify",
      "old_id": "595b45d52ff343c425836ada73f097d3275ebd71",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6_tables.c",
      "new_id": "f2b815e723294a513f9c0e27bf52816837fa5d34",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6_tables.c"
    },
    {
      "type": "modify",
      "old_id": "3d570446deefabe125ebd998c9604ae5cd7e26d5",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6t_ah.c",
      "new_id": "1580693c86c1dad1ae55751cbc2ee41c19490be0",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6t_ah.c"
    },
    {
      "type": "modify",
      "old_id": "c2dba2701fa3b4630861bf498f1ad79600d4d7d7",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6t_frag.c",
      "new_id": "a5daf0ffb4ec8e840a14e3e6eebb417952e25c71",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6t_frag.c"
    },
    {
      "type": "modify",
      "old_id": "1b294317707bdaf2ed0b3399bbd965dc726ebb27",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6t_hbh.c",
      "new_id": "5e6acdae6d804017142b170d9f8d97347b318908",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6t_hbh.c"
    },
    {
      "type": "modify",
      "old_id": "90e1e04b79322bff4045e6633c2d67c0ce0f143f",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6t_ipv6header.c",
      "new_id": "46fbabb493faea61842f0186d3423124d7a32f29",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6t_ipv6header.c"
    },
    {
      "type": "modify",
      "old_id": "d9408045994ccfb7bb558c9d0b46730056e706ba",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6t_mh.c",
      "new_id": "c9f443e0138f5729acc7006f4ebef76ca60e573a",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6t_mh.c"
    },
    {
      "type": "modify",
      "old_id": "76397f35eafd1ec13ce5e97a206d6a8cb5022880",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6t_rt.c",
      "new_id": "09322720d2a673b1a62cc779806d744841281e07",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6t_rt.c"
    },
    {
      "type": "modify",
      "old_id": "ee7fe215b3e1c9c4777494209cc78dd42dfaa748",
      "old_mode": 33188,
      "old_path": "net/netfilter/x_tables.c",
      "new_id": "7ee177746172cca5d9315b0cc5bee956fe7c2806",
      "new_mode": 33188,
      "new_path": "net/netfilter/x_tables.c"
    },
    {
      "type": "modify",
      "old_id": "1f2c35ef1427bc77e1a4cc4edb36b16f9a5ae1a0",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_cluster.c",
      "new_id": "30cb7762fc41c49674a801eb84ba0488e7ec5dd0",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_cluster.c"
    },
    {
      "type": "modify",
      "old_id": "136ef4ccdacb77682e6bf2ad9b5a27028f063243",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_connbytes.c",
      "new_id": "bf8e286361c3fd7c05d92f161b40012615ced76e",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_connbytes.c"
    },
    {
      "type": "modify",
      "old_id": "a9fec38ab029bb46e11fca49a0a364656b72b26a",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_connlimit.c",
      "new_id": "68e89f08140b8cf98c6a0e106e906d613c580d89",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_connlimit.c"
    },
    {
      "type": "modify",
      "old_id": "0e69427f8cda11ff15febd0f871bfe5b52791d32",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_connmark.c",
      "new_id": "e137af5559e07654e462b2025b30bbce147b3ab2",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_connmark.c"
    },
    {
      "type": "modify",
      "old_id": "500e0338a1879452c58c81761ec5a7062ff0ac2f",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_conntrack.c",
      "new_id": "26e34aa7f8d15214a240163027a943ac6d52136b",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_conntrack.c"
    },
    {
      "type": "modify",
      "old_id": "da8c301d24ea8aca5ce6b7d17162983b79050892",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_dccp.c",
      "new_id": "f54699ca56091da80126f61a4424c90d3a64fbf4",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_dccp.c"
    },
    {
      "type": "modify",
      "old_id": "295da4ce822c75314105fe01aba66661cd345e3d",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_dscp.c",
      "new_id": "f355fb9e06fade7b8d5a48680bae8ed445caccc1",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_dscp.c"
    },
    {
      "type": "modify",
      "old_id": "9f5da9795674fff72b131e6e5c395cb7b788ffcc",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_esp.c",
      "new_id": "143bfdc8e38f8ed563d3025d85d94043fb2f8d13",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_esp.c"
    },
    {
      "type": "modify",
      "old_id": "d13800c959302bcdcdf8cfcb3bd87c1d1a46a674",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_hashlimit.c",
      "new_id": "0c0152902b3b230ff362e17b1ff085cc1a37e93b",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_hashlimit.c"
    },
    {
      "type": "modify",
      "old_id": "6e177b279f900000300f01ad0bd8d8578a2b4e7a",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_helper.c",
      "new_id": "eb308b32bfe0d56dd707d31a269b33797d531257",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_helper.c"
    },
    {
      "type": "modify",
      "old_id": "138a324df8dfd2286b00587aedef424bdefb074d",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_limit.c",
      "new_id": "5ff0580ce87880bc66f7d3d5a23449bf7f29067f",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_limit.c"
    },
    {
      "type": "modify",
      "old_id": "850e412c83ef6be211af02613d82f3776bc92e9b",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_physdev.c",
      "new_id": "d0bdf3dd4d2575ad452caa3ffbff23bc04174692",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_physdev.c"
    },
    {
      "type": "modify",
      "old_id": "c9965b640b16ab223e8de27346f3083a8c97d0b0",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_policy.c",
      "new_id": "1fa239c1fb93c9d11601f01b66d7ad3f128cbc85",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_policy.c"
    },
    {
      "type": "modify",
      "old_id": "2861fac5f2e19acbb83c2565c0127dbaa3ab0d70",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_quota.c",
      "new_id": "766e71c6dc55d909156515e93f63bd24c5f2069b",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_quota.c"
    },
    {
      "type": "modify",
      "old_id": "3b5e3d613b18b89ede0891eb2e73ae84356d8400",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_rateest.c",
      "new_id": "0b5c6122737d4fb6878a6079ccca4b07d01cf311",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_rateest.c"
    },
    {
      "type": "modify",
      "old_id": "52042c8bf7f2795324bf6fc9ed447bbda767ae1f",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_recent.c",
      "new_id": "0994ff54a7311d8a4dd2b4a281d490719e5e3ebe",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_recent.c"
    },
    {
      "type": "modify",
      "old_id": "5037a7a0059c6ee273764929b226873aa59d2edd",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_sctp.c",
      "new_id": "c3694df5467273e29ab9891c7539a8116896a5b9",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_sctp.c"
    },
    {
      "type": "modify",
      "old_id": "8b15b1317f1f854a32113c141574a03426cd82bd",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_state.c",
      "new_id": "8e8c9df51784a913f3da19fb2f782f4611b8a94e",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_state.c"
    },
    {
      "type": "modify",
      "old_id": "a577ab008f575edd5315aeebf6f1224abacb1ac1",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_statistic.c",
      "new_id": "29d76f8f1880f141959100d8ea154a07a74ae296",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_statistic.c"
    },
    {
      "type": "modify",
      "old_id": "7d1412154e273c878ee64524bc8d0d05d2642662",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_string.c",
      "new_id": "e1f22a7a41528733b9e471bc3bef9d5bfeab19c4",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_string.c"
    },
    {
      "type": "modify",
      "old_id": "00728410099f832e0d10a274cfbe0980a62733eb",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_tcpudp.c",
      "new_id": "efa2ede24ae6120487b453ca6898fd7b7d70be6b",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_tcpudp.c"
    },
    {
      "type": "modify",
      "old_id": "db74f4fd57df19d83af2f778b5bc5264cb297d4b",
      "old_mode": 33188,
      "old_path": "net/netfilter/xt_time.c",
      "new_id": "8dde5e51ff19adc079c19f666f8e729b1f848adb",
      "new_mode": 33188,
      "new_path": "net/netfilter/xt_time.c"
    }
  ]
}
