Commit e2ea5a7
committed
io_uring/net: move connect to always using async data
While doing that, get rid of io_async_connect and just use the generic
io_async_msghdr. Both of them have a struct sockaddr_storage in there,
and while io_async_msghdr is bigger, if the same type can be used then
the netmsg_cache can get reused for connect as well.
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent d6f911a commit e2ea5a7
3 files changed
+12
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
1439 | 1431 | | |
1440 | 1432 | | |
1441 | 1433 | | |
| 1434 | + | |
1442 | 1435 | | |
1443 | 1436 | | |
1444 | 1437 | | |
1445 | 1438 | | |
1446 | 1439 | | |
1447 | 1440 | | |
1448 | 1441 | | |
1449 | | - | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
1450 | 1448 | | |
1451 | 1449 | | |
1452 | 1450 | | |
1453 | 1451 | | |
1454 | 1452 | | |
1455 | | - | |
| 1453 | + | |
1456 | 1454 | | |
1457 | 1455 | | |
1458 | 1456 | | |
1459 | 1457 | | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
1471 | 1458 | | |
1472 | 1459 | | |
1473 | | - | |
1474 | | - | |
| 1460 | + | |
| 1461 | + | |
1475 | 1462 | | |
1476 | 1463 | | |
1477 | 1464 | | |
| |||
1481 | 1468 | | |
1482 | 1469 | | |
1483 | 1470 | | |
1484 | | - | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
1489 | | - | |
1490 | | - | |
1491 | 1471 | | |
1492 | 1472 | | |
1493 | 1473 | | |
| |||
1505 | 1485 | | |
1506 | 1486 | | |
1507 | 1487 | | |
| 1488 | + | |
1508 | 1489 | | |
1509 | 1490 | | |
1510 | 1491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| |||
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
56 | | - | |
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
| 560 | + | |
562 | 561 | | |
563 | 562 | | |
564 | 563 | | |
| |||
0 commit comments