l2tp: remove BUG_ON refcount value in l2tp_session_free
authorTom Parkin <tparkin@katalix.com>
Fri, 24 Jul 2020 15:31:56 +0000 (16:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jul 2020 00:19:14 +0000 (17:19 -0700)
commit0dd62f69d898de3cf31a2f8b59e9a62bb5448457
tree7cc790cb310b70f5751706700e6ca4fb36bdffed
parent493048f5dfcd0093880414928717f68613ba9157
l2tp: remove BUG_ON refcount value in l2tp_session_free

l2tp_session_free is only called by l2tp_session_dec_refcount when the
reference count reaches zero, so it's of limited value to validate the
reference count value in l2tp_session_free itself.

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