Re: [PATCH net] ebpf: fix bpf_msg_pull_data

2018-08-31 Thread Tushar Dave
On 08/31/2018 05:15 AM, Daniel Borkmann wrote: On 08/31/2018 10:37 AM, Tushar Dave wrote: On 08/30/2018 12:20 AM, Daniel Borkmann wrote: On 08/30/2018 02:21 AM, Tushar Dave wrote: On 08/29/2018 05:07 PM, Tushar Dave wrote: While doing some preliminary testing it is found that bpf helper bp

Re: [PATCH net] ebpf: fix bpf_msg_pull_data

2018-08-31 Thread Daniel Borkmann
On 08/31/2018 10:37 AM, Tushar Dave wrote: > On 08/30/2018 12:20 AM, Daniel Borkmann wrote: >> On 08/30/2018 02:21 AM, Tushar Dave wrote: >>> On 08/29/2018 05:07 PM, Tushar Dave wrote: While doing some preliminary testing it is found that bpf helper bpf_msg_pull_data does not calculate th

Re: [PATCH net] ebpf: fix bpf_msg_pull_data

2018-08-31 Thread Tushar Dave
On 08/30/2018 12:20 AM, Daniel Borkmann wrote: On 08/30/2018 02:21 AM, Tushar Dave wrote: On 08/29/2018 05:07 PM, Tushar Dave wrote: While doing some preliminary testing it is found that bpf helper bpf_msg_pull_data does not calculate the data and data_end offset correctly. Fix it! Fixes: 0

Re: [PATCH net] ebpf: fix bpf_msg_pull_data

2018-08-30 Thread Daniel Borkmann
On 08/30/2018 02:21 AM, Tushar Dave wrote: > On 08/29/2018 05:07 PM, Tushar Dave wrote: >> While doing some preliminary testing it is found that bpf helper >> bpf_msg_pull_data does not calculate the data and data_end offset >> correctly. Fix it! >> >> Fixes: 015632bb30da ("bpf: sk_msg program help

Re: [PATCH net] ebpf: fix bpf_msg_pull_data

2018-08-29 Thread Tushar Dave
On 08/29/2018 05:07 PM, Tushar Dave wrote: While doing some preliminary testing it is found that bpf helper bpf_msg_pull_data does not calculate the data and data_end offset correctly. Fix it! Fixes: 015632bb30da ("bpf: sk_msg program helper bpf_sk_msg_pull_data") Signed-off-by: Tushar Dave

[PATCH net] ebpf: fix bpf_msg_pull_data

2018-08-29 Thread Tushar Dave
While doing some preliminary testing it is found that bpf helper bpf_msg_pull_data does not calculate the data and data_end offset correctly. Fix it! Fixes: 015632bb30da ("bpf: sk_msg program helper bpf_sk_msg_pull_data") Signed-off-by: Tushar Dave Acked-by: Sowmini Varadhan --- net/core/filter