Re: [PATCHv5 bpf-next 1/3] xdp: add a new helper for dev map multicast support

Hangbin Liu
2020-07-01T06:51:50Z

On Tue, Jun 30, 2020 at 10:09:39PM -0700, Andrii Nakryiko wrote:
> > diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
> > index 0cb8ec948816..d7de6c0b32e4 100644
> > --- a/tools/include/uapi/linux/bpf.h
> > +++ b/tools/include/uapi/linux/bpf.h
> > @@ -3285,6 +3285,23 @@ union bpf_attr {
> > * Dynamically cast a *sk* pointer to a *udp6_sock* pointer.
> > * Return
> > * *sk* if casting is valid, or NULL otherwise.
> > + *
> > + * int bpf_redirect_map_multi(struct bpf_map *map, struct bpf_map *ex_map, u64 flags)
>
> We've recently converted all return types for helpers from int to
> long, please update accordingly. Thanks.
>

Thanks, I will fix it.

- Hangbin