projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'ntb-3.13' of git://github.com/jonmason/ntb
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
security
/
selinux
/
netnode.c
diff --git
a/security/selinux/netnode.c
b/security/selinux/netnode.c
index
c5454c0
..
03a72c3
100644
(file)
--- a/
security/selinux/netnode.c
+++ b/
security/selinux/netnode.c
@@
-166,6
+166,7
@@
static void sel_netnode_insert(struct sel_netnode *node)
break;
default:
BUG();
+ return;
}
/* we need to impose a limit on the growth of the hash table so check
@@
-225,6
+226,7
@@
static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid)
break;
default:
BUG();
+ ret = -EINVAL;
}
if (ret != 0)
goto out;