On 26 June 2018 at 14:19, Joe Hershberger <[email protected]> wrote: > In open, the socket is correctly checked to be -1 in the error case. > In send and recv, we checked for 0, but that is a valid socket number. > > Correct this by checking for -1 as a bad socket everywhere. > > Signed-off-by: Joe Hershberger <[email protected]> > --- > > arch/sandbox/cpu/eth-raw-os.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

