Repository navigation
Commit 5d299f3
net: ipv6: fix TCP early demux
IPv6 needs a cookie in dst_check() call.
We need to add rx_dst_cookie and provide a family independent
sk_rx_dst_set(sk, skb) method to properly support IPv6 TCP early demux.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent b5497ee commit 5d299f3
7 files changed
Lines changed: 41 additions & 16 deletions
File tree
- include
- linux
- net
- net
- ipv4
- ipv6
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| 372 | + | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | 252 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5392 | 5392 | | |
5393 | 5393 | | |
5394 | 5394 | | |
| 5395 | + | |
| 5396 | + | |
5395 | 5397 | | |
5396 | 5398 | | |
5397 | 5399 | | |
| |||
5605 | 5607 | | |
5606 | 5608 | | |
5607 | 5609 | | |
5608 | | - | |
| 5610 | + | |
5609 | 5611 | | |
5610 | 5612 | | |
5611 | 5613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1627 | 1627 | | |
1628 | 1628 | | |
1629 | 1629 | | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
1633 | 1630 | | |
1634 | 1631 | | |
1635 | 1632 | | |
| |||
1872 | 1869 | | |
1873 | 1870 | | |
1874 | 1871 | | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
1875 | 1881 | | |
1876 | 1882 | | |
1877 | 1883 | | |
1878 | 1884 | | |
| 1885 | + | |
1879 | 1886 | | |
1880 | 1887 | | |
1881 | 1888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1447 | 1447 | | |
1448 | 1448 | | |
1449 | 1449 | | |
| 1450 | + | |
| 1451 | + | |
1450 | 1452 | | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
1451 | 1461 | | |
1452 | 1462 | | |
1453 | 1463 | | |
| |||
1705 | 1715 | | |
1706 | 1716 | | |
1707 | 1717 | | |
1708 | | - | |
| 1718 | + | |
1709 | 1719 | | |
1710 | | - | |
| 1720 | + | |
1711 | 1721 | | |
1712 | 1722 | | |
1713 | 1723 | | |
| |||
1719 | 1729 | | |
1720 | 1730 | | |
1721 | 1731 | | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
1722 | 1744 | | |
1723 | 1745 | | |
1724 | 1746 | | |
1725 | 1747 | | |
| 1748 | + | |
1726 | 1749 | | |
1727 | 1750 | | |
1728 | 1751 | | |
| |||
0 commit comments