Skip to content

Commit

Permalink
selftests/net: Clean-up double assignment
Browse files Browse the repository at this point in the history
Yeah, copy'n'paste typo.

Fixes: 3c3ead5 ("selftests/net: Add TCP-AO key-management test")
Reported-by: Nassiri, Mohammad <[email protected]>
Closes: https://lore.kernel.org/all/DM6PR04MB4202BC58A9FD5BDD24A16E8EC56F2@DM6PR04MB4202.namprd04.prod.outlook.com/
Signed-off-by: Dmitry Safonov <[email protected]>
Signed-off-by: NipaLocal <nipa@local>
  • Loading branch information
0x7f454c46 authored and NipaLocal committed Jan 19, 2024
1 parent 2ad18e3 commit fefacb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/testing/selftests/net/tcp_ao/lib/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ int test_get_tcp_ao_counters(int sk, struct tcp_ao_counters *out)

key_dump[0].nkeys = nr_keys;
key_dump[0].get_all = 1;
key_dump[0].get_all = 1;
err = getsockopt(sk, IPPROTO_TCP, TCP_AO_GET_KEYS,
key_dump, &key_dump_sz);
if (err) {
Expand Down

0 comments on commit fefacb5

Please sign in to comment.