Merge branch 'l2tp-miscellaneous-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 19:19:04 +0000 (12:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 19:19:04 +0000 (12:19 -0700)
commit08aaa0819d5cce78a10c2fcea17057d07698691f
tree8d27a74c645be76c76eedf8357bc0eda56f89f5e
parentffd923f5f8d5501f7f123f5c4241eaee3e870a30
parent9d319a8e9309d6c2862e2f6721acb5b421af949e
Merge branch 'l2tp-miscellaneous-cleanups'

Tom Parkin says:

====================
l2tp: miscellaneous cleanups

This series of patches makes the following cleanups and improvements to
the l2tp code:

 * various API tweaks to remove unused parameters from function calls
 * lightly refactor the l2tp transmission path to capture more error
   conditions in the data plane statistics
 * repurpose the "magic feather" validation in l2tp to check for
   sk_user_data (ab)use as opposed to refcount debugging
 * remove some duplicated code
====================

Reviewed-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>