diff options
| author | Piergiorgio Beruto <[email protected]> | 2023-01-13 13:26:35 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-01-14 05:42:53 +0000 |
| commit | 28dbf774bc879c1841d58cb711aaea6198955b95 (patch) | |
| tree | 354e5f6a7f72fb0f3455d57101325c6d99582dfb /net/unix/af_unix.c | |
| parent | Merge branch 'net-mdio-continue-separating-c22-and-c45' (diff) | |
| download | kernel-28dbf774bc879c1841d58cb711aaea6198955b95.tar.gz kernel-28dbf774bc879c1841d58cb711aaea6198955b95.zip | |
plca.c: fix obvious mistake in checking retval
Revert a wrong fix that was done during the review process. The
intention was to substitute "if(ret < 0)" with "if(ret)".
Unfortunately, the intended fix did not meet the code.
Besides, after additional review, it was decided that "if(ret < 0)"
was actually the right thing to do.
Fixes: 8580e16c28f3 ("net/ethtool: add netlink interface for the PLCA RS")
Signed-off-by: Piergiorgio Beruto <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/f2277af8951a51cfee2fb905af8d7a812b7beaf4.1673616357.git.piergiorgio.beruto@gmail.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
