Skip to content
Commit 0dd62f69 authored by Tom Parkin's avatar Tom Parkin Committed by David S. Miller
Browse files

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: default avatarTom Parkin <tparkin@katalix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 493048f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment