diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-11-20 11:06:57 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-21 14:43:45 -0800 |
commit | c5dab0941fcdc9664eb0ec0d4d51433216d91336 (patch) | |
tree | 1071129990a95187ac0278fbcfcb3ce07e29d602 /net/ethtool/rings.c | |
parent | f33d9e2b48a34e1558b67a473a1fc1d6e793f93c (diff) | |
download | linux-c5dab0941fcdc9664eb0ec0d4d51433216d91336.tar.bz2 |
net/af_iucv: set correct sk_protocol for child sockets
Child sockets erroneously inherit their parent's sk_type (ie. SOCK_*),
instead of the PF_IUCV protocol that the parent was created with in
iucv_sock_create().
We're currently not using sk->sk_protocol ourselves, so this shouldn't
have much impact (except eg. getting the output in skb_dump() right).
Fixes: eac3731bd04c ("[S390]: Add AF_IUCV socket support")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Link: https://lore.kernel.org/r/20201120100657.34407-1-jwi@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ethtool/rings.c')
0 files changed, 0 insertions, 0 deletions