WSL2-Linux-Kernel/net/l2tp
Tom Parkin 20dcb1107a l2tp: cleanup comments
Modify some l2tp comments to better adhere to kernel coding style, as
reported by checkpatch.pl.

Add descriptive comments for the l2tp per-net spinlocks to document
their use.

Fix an incorrect comment in l2tp_recv_common:

RFC2661 section 5.4 states that:

"The LNS controls enabling and disabling of sequence numbers by sending a
data message with or without sequence numbers present at any time during
the life of a session."

l2tp handles this correctly in l2tp_recv_common, but the comment around
the code was incorrect and confusing.  Fix up the comment accordingly.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-22 18:08:39 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
l2tp_core.c l2tp: cleanup comments 2020-07-22 18:08:39 -07:00
l2tp_core.h l2tp: cleanup comments 2020-07-22 18:08:39 -07:00
l2tp_debugfs.c l2tp: cleanup comments 2020-07-22 18:08:39 -07:00
l2tp_eth.c l2tp: cleanup comments 2020-07-22 18:08:39 -07:00
l2tp_ip.c l2tp: cleanup comments 2020-07-22 18:08:39 -07:00
l2tp_ip6.c l2tp: cleanup comments 2020-07-22 18:08:39 -07:00
l2tp_netlink.c l2tp: cleanup comments 2020-07-22 18:08:39 -07:00
l2tp_ppp.c l2tp: cleanup comments 2020-07-22 18:08:39 -07:00