summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-03-28 13:48:36 +0200
committerDavid S. Miller <davem@davemloft.net>2018-03-29 20:33:29 +0200
commit99fe29d3a25f813146816b322367b4c6a0fdec84 (patch)
tree8197459068121adbb98ea603bb421d922f1f4927 /drivers/net/ethernet/broadcom
parentsfp: allow cotsworks modules (diff)
downloadlinux-99fe29d3a25f813146816b322367b4c6a0fdec84.tar.xz
linux-99fe29d3a25f813146816b322367b4c6a0fdec84.zip
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: 76db8087c4c9 ("net: bpf: add a test for skb_segment in test_bpf module") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Yonghong Song <yhs@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
0 files changed, 0 insertions, 0 deletions