OSDN Git Service

net/af_iucv: don't lookup the socket on TX notification
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 28 Jan 2021 11:41:05 +0000 (12:41 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Jan 2021 04:36:21 +0000 (20:36 -0800)
commitc464444fa2ca41255817e2bdcfc47a658ec20645
tree5bfe15a20464d9c430ef6f4a948cb21ad0f18857
parent27e9c1de529919d8dd7d072415d3bcae77709300
net/af_iucv: don't lookup the socket on TX notification

Whoever called iucv_sk(sk)->sk_txnotify() must already know that they're
dealing with an af_iucv socket.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/iucv/af_iucv.c