Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_bpf: Fix NULL vs IS_ERR() check in test_skb_segment()
The skb_segment() function returns error pointers on error. It never returns NULL. Fixes: 76db808 ("net: bpf: add a test for skb_segment in test_bpf module") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Reviewed-by: Yonghong Song <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information