diff for duplicates of <20150813202747.GA6478@mwanda> diff --git a/a/1.txt b/N1/1.txt index 94f2ac1..3b00947 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,6 +14,6 @@ index 48e1c71..ed12e38 100644 - for (i = 0; i <= ARRAY_SIZE(func_limit); i++) { + for (i = 0; i < ARRAY_SIZE(func_limit); i++) { - bool_map = (map->map_type = func_limit[i].map_type); - bool_func = (func_id = func_limit[i].func_id); + bool_map = (map->map_type == func_limit[i].map_type); + bool_func = (func_id == func_limit[i].func_id); /* only when map & func pair match it can continue. diff --git a/a/content_digest b/N1/content_digest index 8870b11..b79d4e3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch -next] bpf: off by one in check_map_func_compatibility()\0" - "Date\0Thu, 13 Aug 2015 20:27:47 +0000\0" + "Date\0Thu, 13 Aug 2015 23:27:47 +0300\0" "To\0Alexei Starovoitov <ast@kernel.org>" " Kaixu Xia <xiakaixu@huawei.com>\0" "Cc\0netdev@vger.kernel.org" @@ -23,8 +23,8 @@ " \n" "-\tfor (i = 0; i <= ARRAY_SIZE(func_limit); i++) {\n" "+\tfor (i = 0; i < ARRAY_SIZE(func_limit); i++) {\n" - " \t\tbool_map = (map->map_type = func_limit[i].map_type);\n" - " \t\tbool_func = (func_id = func_limit[i].func_id);\n" + " \t\tbool_map = (map->map_type == func_limit[i].map_type);\n" + " \t\tbool_func = (func_id == func_limit[i].func_id);\n" " \t\t/* only when map & func pair match it can continue." -4ada21970d170e8edc49c2c562b4f924bf3e77e38b479845a39be67149d98b94 +934e3f1534657836b154e01b2fc1707aa3d62e7bdfd61cb42df45e19acc5bac6
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.