]> granicus.if.org Git - strace/commitdiff
xlat: add TCP_CLOSE to netlink_states
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 20 Oct 2018 04:16:05 +0000 (06:16 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 26 Dec 2018 01:59:38 +0000 (01:59 +0000)
* xlat/netlink_states.in: Decode state 7 as TCP_CLOSE, since that's what
net core sets socket's initial state to.

xlat/netlink_states.in

index 4d4aee7e2e63d7eb36fab217769f977d4c0e3010..d2ffb7bc8afd3758d049a02363a902f07751bf10 100644 (file)
@@ -1,2 +1,4 @@
 NETLINK_UNCONNECTED    0
 NETLINK_CONNECTED      1
+/* The initial socket state, as set by net/code/sock.c:sock_init_data */
+TCP_CLOSE              7