Commit ae0d777
committed
SUNRPC: Ensure server-side sockets have a sock->file
The TLS handshake upcall mechanism requires a non-NULL sock->file on
the socket it hands to user space. svc_sock_free() already releases
sock->file properly if one exists.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>1 parent 0f51624 commit ae0d777
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1293 | 1293 | | |
1294 | 1294 | | |
1295 | 1295 | | |
| 1296 | + | |
1296 | 1297 | | |
1297 | 1298 | | |
1298 | 1299 | | |
1299 | | - | |
1300 | 1300 | | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
1304 | 1304 | | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
1305 | 1313 | | |
1306 | 1314 | | |
1307 | | - | |
1308 | | - | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1309 | 1318 | | |
1310 | 1319 | | |
1311 | 1320 | | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1316 | 1327 | | |
1317 | 1328 | | |
1318 | 1329 | | |
| |||
0 commit comments