commit | af21c717f4757985771e2cee0b6e0cf21b831477 | [log] [tgz] |
---|---|---|
author | Shmulik Ladkani <shmulik@metanetworks.com> | Fri Oct 25 16:42:22 2019 +0300 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Oct 30 16:37:01 2019 +0100 |
tree | 0356ab69e34e3ecfcc3fd7e2e23812eb913408c2 | |
parent | 7e07e7aec56984364c7e16d242a0ec97b91861a8 [diff] |
bpf, testing: Refactor test_skb_segment() for testing skb_segment() on different skbs Currently, test_skb_segment() builds a single test skb and runs skb_segment() on it. Extend test_skb_segment() so it processes an array of numerous skb/feature pairs to test. Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20191025134223.2761-2-shmulik.ladkani@gmail.com