Hi all, Today's linux-next merge of the net-next tree got a conflict in net/core/filter.c between commit 83d5b7ef99c9 ("net: filter: initialize A and X registers") from the net tree and commit 4cd3675ebf74 ("filter: added BPF random opcode") from the net-next tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwell sfr@canb.auug.org.au diff --cc net/core/filter.c index 9d79ca0a6e8e,78a636e60a0b..000000000000 --- a/net/core/filter.c +++ b/net/core/filter.c @@@ -652,6 -643,19 +652,12 @@@ static u64 __get_raw_cpu_id(u64 ctx, u6 return raw_smp_processor_id(); } + /* note that this only generates 32-bit random numbers */ + static u64 __get_random_u32(u64 ctx, u64 A, u64 X, u64 r4, u64 r5) + { + return (u64)prandom_u32(); + } + -/* Register mappings for user programs. */ -#define A_REG 0 -#define X_REG 7 -#define TMP_REG 8 -#define ARG2_REG 2 -#define ARG3_REG 3 - static bool convert_bpf_extensions(struct sock_filter *fp, struct sock_filter_int **insnp) {