Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/phy/marvell.c Simple overlapping changes in drivers/net/phy/marvell.c Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
obj-y := core.o syscall.o verifier.o
|
||||
|
||||
obj-y := core.o
|
||||
obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o
|
||||
ifdef CONFIG_TEST_BPF
|
||||
obj-y += test_stub.o
|
||||
obj-$(CONFIG_BPF_SYSCALL) += test_stub.o
|
||||
endif
|
||||
|
@@ -655,3 +655,12 @@ void bpf_prog_free(struct bpf_prog *fp)
|
||||
schedule_work(&aux->work);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(bpf_prog_free);
|
||||
|
||||
/* To execute LD_ABS/LD_IND instructions __bpf_prog_run() may call
|
||||
* skb_copy_bits(), so provide a weak definition of it for NET-less config.
|
||||
*/
|
||||
int __weak skb_copy_bits(const struct sk_buff *skb, int offset, void *to,
|
||||
int len)
|
||||
{
|
||||
return -EFAULT;
|
||||
}
|
||||
|
Fai riferimento in un nuovo problema
Block a user