summaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_core.c
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2020-07-24 16:31:50 +0100
committerDavid S. Miller <davem@davemloft.net>2020-07-24 17:19:14 -0700
commit7a379558c28c435681221aa5d84ead8ff19211be (patch)
tree0466a1b2aaaa57fc90349f501df60f827ce4fdf1 /net/l2tp/l2tp_core.c
parent95075150d0bdaa78cc350efc606e6ed02fa2a991 (diff)
downloadlinux-7a379558c28c435681221aa5d84ead8ff19211be.tar.gz
linux-7a379558c28c435681221aa5d84ead8ff19211be.tar.bz2
linux-7a379558c28c435681221aa5d84ead8ff19211be.zip
l2tp: WARN_ON rather than BUG_ON in l2tp_dfs_seq_start
l2tp_dfs_seq_start had a BUG_ON to catch a possible programming error in l2tp_dfs_seq_open. Since we can easily bail out of l2tp_dfs_seq_start, prefer to do that and flag the error with a WARN_ON rather than crashing the kernel. Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
0 files changed, 0 insertions, 0 deletions