Re: [PATCH v3 bpf-next 4/9] tcp: Add unknown_opt arg to tcp_parse_options

2020-07-31 Thread Martin KaFai Lau
On Fri, Jul 31, 2020 at 09:12:10AM -0700, Eric Dumazet wrote: > On Thu, Jul 30, 2020 at 1:58 PM Martin KaFai Lau wrote: > > > > In the latter patch, the bpf prog only wants to be called to handle > > a header option if that particular header option cannot be handled by > > the kernel. This unknow

[PATCH v3 bpf-next 4/9] tcp: Add unknown_opt arg to tcp_parse_options

2020-07-30 Thread Martin KaFai Lau
In the latter patch, the bpf prog only wants to be called to handle a header option if that particular header option cannot be handled by the kernel. This unknown option could be written by the peer's bpf-prog. It could also be a new standard option that the running kernel does not support it whil