diff options
| author | Dan Carpenter <[email protected]> | 2023-06-09 11:05:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-06-12 08:36:27 +0000 |
| commit | 75e6def3b26736e7ff80639810098c9074229737 (patch) | |
| tree | 487733e739b3db1db76017c7bd613b10843c5971 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | sctp: handle invalid error codes without calling BUG() (diff) | |
| download | kernel-75e6def3b26736e7ff80639810098c9074229737.tar.gz kernel-75e6def3b26736e7ff80639810098c9074229737.zip | |
sctp: fix an error code in sctp_sf_eat_auth()
The sctp_sf_eat_auth() function is supposed to enum sctp_disposition
values and returning a kernel error code will cause issues in the
caller. Change -ENOMEM to SCTP_DISPOSITION_NOMEM.
Fixes: 65b07e5d0d09 ("[SCTP]: API updates to suport SCTP-AUTH extensions.")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
