Commit 3640dbc
wifi: iwlwifi: Fix A-MSDU TSO preparation
The TSO preparation assumed that the skb head contained the headers
while the rest of the data was in the fragments. Since this is not
always true, e.g., it is possible that the data was linearised, modify
the TSO preparation to start the data processing after the network
headers.
Fixes: 7f5e303 ("wifi: iwlwifi: map entire SKB when sending AMSDUs")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250209143303.75769a4769bf.Iaf79e8538093cdf8c446c292cc96164ad6498f61@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 3b08e60 commit 3640dbc
File tree
3 files changed
+18
-12
lines changed- drivers/net/wireless/intel/iwlwifi/pcie
3 files changed
+18
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
| 649 | + | |
| 650 | + | |
650 | 651 | | |
651 | 652 | | |
652 | 653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
1855 | 1855 | | |
1856 | 1856 | | |
1857 | 1857 | | |
| 1858 | + | |
1858 | 1859 | | |
1859 | 1860 | | |
1860 | 1861 | | |
| |||
1864 | 1865 | | |
1865 | 1866 | | |
1866 | 1867 | | |
1867 | | - | |
| 1868 | + | |
| 1869 | + | |
1868 | 1870 | | |
1869 | 1871 | | |
| 1872 | + | |
1870 | 1873 | | |
1871 | 1874 | | |
1872 | 1875 | | |
1873 | 1876 | | |
| 1877 | + | |
1874 | 1878 | | |
1875 | 1879 | | |
1876 | 1880 | | |
1877 | | - | |
1878 | | - | |
| 1881 | + | |
1879 | 1882 | | |
1880 | 1883 | | |
1881 | 1884 | | |
1882 | 1885 | | |
1883 | 1886 | | |
1884 | 1887 | | |
1885 | 1888 | | |
1886 | | - | |
| 1889 | + | |
1887 | 1890 | | |
1888 | 1891 | | |
1889 | | - | |
1890 | | - | |
| 1892 | + | |
| 1893 | + | |
1891 | 1894 | | |
1892 | 1895 | | |
1893 | 1896 | | |
| |||
1939 | 1942 | | |
1940 | 1943 | | |
1941 | 1944 | | |
1942 | | - | |
| 1945 | + | |
| 1946 | + | |
1943 | 1947 | | |
1944 | 1948 | | |
1945 | 1949 | | |
| |||
0 commit comments