projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'rtc-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-2.6-microblaze.git]
/
net
/
l2tp
/
l2tp_debugfs.c
diff --git
a/net/l2tp/l2tp_debugfs.c
b/net/l2tp/l2tp_debugfs.c
index
72ba83a
..
96cb960
100644
(file)
--- a/
net/l2tp/l2tp_debugfs.c
+++ b/
net/l2tp/l2tp_debugfs.c
@@
-72,7
+72,10
@@
static void *l2tp_dfs_seq_start(struct seq_file *m, loff_t *offs)
if (!pos)
goto out;
- BUG_ON(!m->private);
+ if (WARN_ON(!m->private)) {
+ pd = NULL;
+ goto out;
+ }
pd = m->private;
if (!pd->tunnel)