aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2019-02-07 15:56:20 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-07 18:06:19 -0800
commit232dc8ef647658a5352da807d9e994e0e03b43cd (patch)
tree4789334e9cd775ba44fc17f163f450d279b72a87 /tools
parentnet/smc: move code to clear the conn->lgr field (diff)
downloadlinux-dev-232dc8ef647658a5352da807d9e994e0e03b43cd.tar.xz
linux-dev-232dc8ef647658a5352da807d9e994e0e03b43cd.zip
net/smc: original socket family in inet_sock_diag
Commit ed75986f4aae ("net/smc: ipv6 support for smc_diag.c") changed the value of the diag_family field. The idea was to indicate the family of the IP address in the inet_diag_sockid field. But the change makes it impossible to distinguish an inet_sock_diag response message from SMC sock_diag response. This patch restores the original behaviour and sends AF_SMC as value of the diag_family field. Fixes: ed75986f4aae ("net/smc: ipv6 support for smc_diag.c") Reported-by: Eugene Syromiatnikov <esyr@redhat.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions