diff options
author | Tom Parkin <tparkin@katalix.com> | 2020-07-28 18:20:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-30 16:45:31 -0700 |
commit | 52016e259bab98613453e29d42f2ffe456feee11 (patch) | |
tree | fc906ef696ccdd6b4f2783c22eabb581d04a2327 /drivers/vdpa | |
parent | b2aecfe8e49059a69379a521aa68b4f55516780f (diff) | |
download | linux-52016e259bab98613453e29d42f2ffe456feee11.tar.gz |
l2tp: don't export tunnel and session free functions
Tunnel and session instances are reference counted, and shouldn't be
directly freed by pseudowire code.
Rather than exporting l2tp_tunnel_free and l2tp_session_free, make them
private to l2tp_core.c, and export the refcount functions instead.
In order to do this, the refcount functions cannot be declared as
inline. Since the codepaths which take and drop tunnel and session
references are not directly in the datapath this shouldn't cause
performance issues.
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vdpa')
0 files changed, 0 insertions, 0 deletions