On 05/16/2018 01:20 AM, David Ahern wrote:
> Only consider forwarding packets if ttl in received packet is > 1 and
> decrement ttl before handing off to bpf_redirect_map.
>
> Signed-off-by: David Ahern
Looks good, applied to bpf-next, thanks David!
On Tue, May 15, 2018 at 4:20 PM, David Ahern wrote:
> Only consider forwarding packets if ttl in received packet is > 1 and
> decrement ttl before handing off to bpf_redirect_map.
>
> Signed-off-by: David Ahern
I did not test this patch, but it looks good to me with visual inspection.
Acked-by:
Only consider forwarding packets if ttl in received packet is > 1 and
decrement ttl before handing off to bpf_redirect_map.
Signed-off-by: David Ahern
---
samples/bpf/xdp_fwd_kern.c | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git a/sampl