diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2019-02-07 17:56:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 16:50:20 +0300 |
commit | 558dac2418b6d8001bc6c3416380a90b50773f57 (patch) | |
tree | 1cb757367071996c5ddd2275f483634000400a26 /drivers/rtc | |
parent | 8ea53f91d41909f1af9719dceb8c86afc3107bba (diff) | |
download | linux-558dac2418b6d8001bc6c3416380a90b50773f57.tar.xz |
net/smc: original socket family in inet_sock_diag
[ Upstream commit 232dc8ef647658a5352da807d9e994e0e03b43cd ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions