diff for duplicates of <58F72F6B.9060808@iogearbox.net> diff --git a/a/1.txt b/N1/1.txt index 0251f04..fd4fba7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -47,7 +47,7 @@ there's no way we could land here under such circumstance. > + ctx.prog = prog; > + > + ctx.offset = kcalloc(prog->len, sizeof(unsigned int), GFP_KERNEL); -> + if (ctx.offset = NULL) { +> + if (ctx.offset == NULL) { > + prog = orig_prog; > + goto out; > + } @@ -66,7 +66,7 @@ there's no way we could land here under such circumstance. > + image_size = sizeof(u32) * ctx.idx; > + header = bpf_jit_binary_alloc(image_size, &image_ptr, > + sizeof(u32), jit_fill_hole); -> + if (header = NULL) { +> + if (header == NULL) { > + prog = orig_prog; > + goto out_off; > + } diff --git a/a/content_digest b/N1/content_digest index 439d043..987aac1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020170418.145823.444134784458713460.davem@davemloft.net\0" "From\0Daniel Borkmann <daniel@iogearbox.net>\0" "Subject\0Re: [PATCH 2/2] sparc64: Add eBPF JIT.\0" - "Date\0Wed, 19 Apr 2017 09:35:39 +0000\0" + "Date\0Wed, 19 Apr 2017 11:35:39 +0200\0" "To\0David Miller <davem@davemloft.net>" " sparclinux@vger.kernel.org\0" "Cc\0netdev@vger.kernel.org" @@ -57,7 +57,7 @@ "> +\tctx.prog = prog;\n" "> +\n" "> +\tctx.offset = kcalloc(prog->len, sizeof(unsigned int), GFP_KERNEL);\n" - "> +\tif (ctx.offset = NULL) {\n" + "> +\tif (ctx.offset == NULL) {\n" "> +\t\tprog = orig_prog;\n" "> +\t\tgoto out;\n" "> +\t}\n" @@ -76,7 +76,7 @@ "> +\timage_size = sizeof(u32) * ctx.idx;\n" "> +\theader = bpf_jit_binary_alloc(image_size, &image_ptr,\n" "> +\t\t\t\t sizeof(u32), jit_fill_hole);\n" - "> +\tif (header = NULL) {\n" + "> +\tif (header == NULL) {\n" "> +\t\tprog = orig_prog;\n" "> +\t\tgoto out_off;\n" "> +\t}\n" @@ -126,4 +126,4 @@ "Thanks a lot,\n" Daniel -84f47a61f0b6892880019663dee9166b9e4d8a7418f88b201903f7c6ce293b51 +e229e6ad3c05f986023ce6490780db0559a9ee586d06dd3c76156832884c6226
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.