Commit 974271e
tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT
In tls_sw_splice_read, checkout MSG_* is inappropriate, should use
SPLICE_*, update tls_wait_data to accept nonblock arguments instead
of flags for recvmsg and splice.
Fixes: c46234e ("tls: RX path for ktls")
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 7501689 commit 974271e
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
1281 | 1282 | | |
1282 | 1283 | | |
1283 | 1284 | | |
1284 | | - | |
| 1285 | + | |
1285 | 1286 | | |
1286 | 1287 | | |
1287 | 1288 | | |
| |||
1306 | 1307 | | |
1307 | 1308 | | |
1308 | 1309 | | |
1309 | | - | |
| 1310 | + | |
1310 | 1311 | | |
1311 | 1312 | | |
1312 | 1313 | | |
| |||
1786 | 1787 | | |
1787 | 1788 | | |
1788 | 1789 | | |
1789 | | - | |
| 1790 | + | |
1790 | 1791 | | |
1791 | 1792 | | |
1792 | 1793 | | |
| |||
1990 | 1991 | | |
1991 | 1992 | | |
1992 | 1993 | | |
1993 | | - | |
| 1994 | + | |
1994 | 1995 | | |
1995 | | - | |
| 1996 | + | |
1996 | 1997 | | |
1997 | 1998 | | |
1998 | 1999 | | |
| |||
0 commit comments