summaryrefslogtreecommitdiff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorPeilin Ye <peilin.ye@bytedance.com>2022-09-23 07:59:26 +0300
committerJakub Kicinski <kuba@kernel.org>2022-09-26 21:00:19 +0300
commitd6e3b27cbd2df555ff0736796ad2f9a17e74be8b (patch)
tree23495da3c7a515913fd0cb686843b1ee13aa018b /Documentation/conf.py
parent31f1fbcb346c9342f6860c322b3f33b2acbc640b (diff)
downloadlinux-d6e3b27cbd2df555ff0736796ad2f9a17e74be8b.tar.xz
af_unix: Refactor unix_read_skb()
Similar to udp_read_skb(), delete the unnecessary while loop in unix_read_skb() for readability. Since recv_actor() cannot return a value greater than skb->len (see sk_psock_verdict_recv()), remove the redundant check. Suggested-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Peilin Ye <peilin.ye@bytedance.com> Link: https://lore.kernel.org/r/7009141683ad6cd3785daced3e4a80ba0eb773b5.1663909008.git.peilin.ye@bytedance.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/conf.py')
0 files changed, 0 insertions, 0 deletions