diff options
author | Rao Shoaib <Rao.Shoaib@oracle.com> | 2021-08-13 11:19:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-16 11:12:37 +0100 |
commit | 19eed721079336d515dd2d8fe1f0f4c292b78c70 (patch) | |
tree | 9ec9ec2db69039b1e05f0528e4e255ab7b21ceba /drivers/ptp | |
parent | 6164659ff7acc16f3f37a9278f856fd1fb02a8f9 (diff) | |
download | lwn-19eed721079336d515dd2d8fe1f0f4c292b78c70.tar.gz lwn-19eed721079336d515dd2d8fe1f0f4c292b78c70.zip |
af_unix: check socket state when queuing OOB
edumazet@google.com pointed out that queue_oob
does not check socket state after acquiring
the lock. He also pointed to an incorrect usage
of kfree_skb and an unnecessary setting of skb
length. This patch addresses those issue.
Signed-off-by: Rao Shoaib <Rao.Shoaib@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions