]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: tweak exports for l2tp_recv_common and l2tp_ioctl
authorTom Parkin <tparkin@katalix.com>
Tue, 28 Jul 2020 17:20:32 +0000 (18:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2020 23:45:31 +0000 (16:45 -0700)
commitecb7a036aebcee4f2e33e4addec3c2204569186a
tree5ecc16e6db693cd2813d2b8cbfab289ee3aeb49c
parent158166fb86b0cc3014faa2344bad3b11cba20fa1
l2tp: tweak exports for l2tp_recv_common and l2tp_ioctl

All of the l2tp subsystem's exported symbols are exported using
EXPORT_SYMBOL_GPL, except for l2tp_recv_common and l2tp_ioctl.

These functions alone are not useful without the rest of the l2tp
infrastructure, so there's no practical benefit to these symbols using a
different export policy.

Change these exports to use EXPORT_SYMBOL_GPL for consistency with the
rest of l2tp.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c
net/l2tp/l2tp_ip.c