selftests/net: Fix broken test case in psock_fanout
authorMike Maloney <maloney@google.com>
Tue, 25 Apr 2017 01:29:11 +0000 (21:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Apr 2017 15:56:17 +0000 (11:56 -0400)
commit472ecf084a7687347f79720c83881c07407bfd8b
treea0675df840700f02a016939c4ab960b23838d790
parent799dbe3e1ce312801cf8755a45bbdd6557560ec4
selftests/net: Fix broken test case in psock_fanout

The error return falue form sock_fanout_open is -1, not zero.  One test
case was checking for 0 instead of -1.

Tested: Built and tested in clean client.
Signed-off-by: Mike Maloney <maloney@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/psock_fanout.c