diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-10-05 11:50:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-10-05 11:50:15 -0400 |
commit | 9819a30c11ea439e5e3c81f5539c4d42d6c76314 (patch) | |
tree | eee29b4735a2ddb944260ad3d281efd4a56788cc /tools/testing/selftests | |
parent | 6fe137cbe3e85e832a169006e8ccc04cec69c653 (diff) | |
parent | ef129d34149ea23d0d442844fc25ae26a85589fc (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from David Miller:
1) Fix ieeeu02154 atusb driver use-after-free, from Johan Hovold.
2) Need to validate TCA_CBQ_WRROPT netlink attributes, from Eric
Dumazet.
3) txq null deref in mac80211, from Miaoqing Pan.
4) ionic driver needs to select NET_DEVLINK, from Arnd Bergmann.
5) Need to disable bh during nft_connlimit GC, from Pablo Neira Ayuso.
6) Avoid division by zero in taprio scheduler, from Vladimir Oltean.
7) Various xgmac fixes in stmmac driver from Jose Abreu.
8) Avoid 64-bit division in mlx5 leading to link errors on 32-bit from
Michal Kubecek.
9) Fix bad VLAN check in rtl8366 DSA driver, from Linus Walleij.
10) Fix sleep while atomic in sja1105, from Vladimir Oltean.
11) Suspend/resume deadlock in stmmac, from Thierry Reding.
12) Various UDP GSO fixes from Josh Hunt.
13) Fix slab out of bounds access in tcp_zerocopy_receive(), from Eric
Dumazet.
14) Fix OOPS in __ipv6_ifa_notify(), from David Ahern.
15) Memory leak in NFC's llcp_sock_bind, from Eric Dumazet.
* git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (72 commits)
selftests/net: add nettest to .gitignore
net: qlogic: Fix memory leak in ql_alloc_large_buffers
nfc: fix memory leak in llcp_sock_bind()
sch_dsmark: fix potential NULL deref in dsmark_init()
net: phy: at803x: use operating parameters from PHY-specific status
net: phy: extract pause mode
net: phy: extract link partner advertisement reading
net: phy: fix write to mii-ctrl1000 register
ipv6: Handle missing host route in __ipv6_ifa_notify
net: phy: allow for reset line to be tied to a sleepy GPIO controller
net: ipv4: avoid mixed n_redirects and rate_tokens usage
r8152: Set macpassthru in reset_resume callback
cxgb4:Fix out-of-bounds MSI-X info array access
Revert "ipv6: Handle race in addrconf_dad_work"
net: make sock_prot_memory_pressure() return "const char *"
rxrpc: Fix rxrpc_recvmsg tracepoint
qmi_wwan: add support for Cinterion CLS8 devices
tcp: fix slab-out-of-bounds in tcp_zerocopy_receive()
lib: textsearch: fix escapes in example code
udp: only do GSO if # of segs > 1
...
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r-- | tools/testing/selftests/net/.gitignore | 1 | ||||
-rw-r--r-- | tools/testing/selftests/net/udpgso.c | 16 |
2 files changed, 5 insertions, 12 deletions
diff --git a/tools/testing/selftests/net/.gitignore b/tools/testing/selftests/net/.gitignore index c7cced739c34..8aefd81fbc86 100644 --- a/tools/testing/selftests/net/.gitignore +++ b/tools/testing/selftests/net/.gitignore | |||
@@ -21,3 +21,4 @@ ipv6_flowlabel | |||
21 | ipv6_flowlabel_mgr | 21 | ipv6_flowlabel_mgr |
22 | so_txtime | 22 | so_txtime |
23 | tcp_fastopen_backup_key | 23 | tcp_fastopen_backup_key |
24 | nettest | ||
diff --git a/tools/testing/selftests/net/udpgso.c b/tools/testing/selftests/net/udpgso.c index b8265ee9923f..614b31aad168 100644 --- a/tools/testing/selftests/net/udpgso.c +++ b/tools/testing/selftests/net/udpgso.c | |||
@@ -89,12 +89,9 @@ struct testcase testcases_v4[] = { | |||
89 | .tfail = true, | 89 | .tfail = true, |
90 | }, | 90 | }, |
91 | { | 91 | { |
92 | /* send a single MSS: will fail with GSO, because the segment | 92 | /* send a single MSS: will fall back to no GSO */ |
93 | * logic in udp4_ufo_fragment demands a gso skb to be > MTU | ||
94 | */ | ||
95 | .tlen = CONST_MSS_V4, | 93 | .tlen = CONST_MSS_V4, |
96 | .gso_len = CONST_MSS_V4, | 94 | .gso_len = CONST_MSS_V4, |
97 | .tfail = true, | ||
98 | .r_num_mss = 1, | 95 | .r_num_mss = 1, |
99 | }, | 96 | }, |
100 | { | 97 | { |
@@ -139,10 +136,9 @@ struct testcase testcases_v4[] = { | |||
139 | .tfail = true, | 136 | .tfail = true, |
140 | }, | 137 | }, |
141 | { | 138 | { |
142 | /* send a single 1B MSS: will fail, see single MSS above */ | 139 | /* send a single 1B MSS: will fall back to no GSO */ |
143 | .tlen = 1, | 140 | .tlen = 1, |
144 | .gso_len = 1, | 141 | .gso_len = 1, |
145 | .tfail = true, | ||
146 | .r_num_mss = 1, | 142 | .r_num_mss = 1, |
147 | }, | 143 | }, |
148 | { | 144 | { |
@@ -196,12 +192,9 @@ struct testcase testcases_v6[] = { | |||
196 | .tfail = true, | 192 | .tfail = true, |
197 | }, | 193 | }, |
198 | { | 194 | { |
199 | /* send a single MSS: will fail with GSO, because the segment | 195 | /* send a single MSS: will fall back to no GSO */ |
200 | * logic in udp4_ufo_fragment demands a gso skb to be > MTU | ||
201 | */ | ||
202 | .tlen = CONST_MSS_V6, | 196 | .tlen = CONST_MSS_V6, |
203 | .gso_len = CONST_MSS_V6, | 197 | .gso_len = CONST_MSS_V6, |
204 | .tfail = true, | ||
205 | .r_num_mss = 1, | 198 | .r_num_mss = 1, |
206 | }, | 199 | }, |
207 | { | 200 | { |
@@ -246,10 +239,9 @@ struct testcase testcases_v6[] = { | |||
246 | .tfail = true, | 239 | .tfail = true, |
247 | }, | 240 | }, |
248 | { | 241 | { |
249 | /* send a single 1B MSS: will fail, see single MSS above */ | 242 | /* send a single 1B MSS: will fall back to no GSO */ |
250 | .tlen = 1, | 243 | .tlen = 1, |
251 | .gso_len = 1, | 244 | .gso_len = 1, |
252 | .tfail = true, | ||
253 | .r_num_mss = 1, | 245 | .r_num_mss = 1, |
254 | }, | 246 | }, |
255 | { | 247 | { |