summaryrefslogtreecommitdiffstats
path: root/include/net/netns/generic.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-02-28 10:26:07 +0100
committerIngo Molnar <mingo@elte.hu>2012-02-28 10:27:36 +0100
commit458ce2910aa83d8a2cafb489d727f7da839e73c6 (patch)
tree28e088137eb068e5620f17eaf0ca19d1562006ed /include/net/netns/generic.h
parentx86-64: Improve insn scheduling in SAVE_ARGS_IRQ (diff)
parentMerge tag 'ktest-fix-make-min-failed-build-for-real' of git://git.kernel.org/... (diff)
downloadlinux-458ce2910aa83d8a2cafb489d727f7da839e73c6.tar.xz
linux-458ce2910aa83d8a2cafb489d727f7da839e73c6.zip
Merge branch 'linus' into x86/asm
Sync up the latest NMI fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/net/netns/generic.h')
-rw-r--r--include/net/netns/generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/generic.h b/include/net/netns/generic.h
index 3419bf5cd154..d55f43443335 100644
--- a/include/net/netns/generic.h
+++ b/include/net/netns/generic.h
@@ -41,6 +41,7 @@ static inline void *net_generic(const struct net *net, int id)
ptr = ng->ptr[id - 1];
rcu_read_unlock();
+ BUG_ON(!ptr);
return ptr;
}
#endif