Re: [RFC bpf-next 2/7] net: introduce skb_net helper

2019-02-05 Thread Stanislav Fomichev
On 02/05, Willem de Bruijn wrote: > On Tue, Feb 5, 2019 at 12:57 PM Stanislav Fomichev wrote: > > > > skb_net returns network namespace from the associated device or socket. > > > > This will be used in the next commit. > > > > Signed-off-by: Stanislav Fomichev > > --- > > include/linux/skbuff.h

Re: [RFC bpf-next 2/7] net: introduce skb_net helper

2019-02-05 Thread Willem de Bruijn
On Tue, Feb 5, 2019 at 12:57 PM Stanislav Fomichev wrote: > > skb_net returns network namespace from the associated device or socket. > > This will be used in the next commit. > > Signed-off-by: Stanislav Fomichev > --- > include/linux/skbuff.h | 2 ++ > net/core/skbuff.c | 10 ++ >

[RFC bpf-next 2/7] net: introduce skb_net helper

2019-02-05 Thread Stanislav Fomichev
skb_net returns network namespace from the associated device or socket. This will be used in the next commit. Signed-off-by: Stanislav Fomichev --- include/linux/skbuff.h | 2 ++ net/core/skbuff.c | 10 ++ 2 files changed, 12 insertions(+) diff --git a/include/linux/skbuff.h b/in