genetlink: trigger BUG_ON if a group name is too long
authorMasatake YAMATO <yamato@redhat.com>
Tue, 19 Mar 2013 01:47:27 +0000 (01:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:05:51 +0000 (12:05 -0400)
commitf1e79e208076ffe7bad97158275f1c572c04f5c7
treece2a0769199516ab9581f910266c51a8affdf1f1
parent90b2621fd465949e1714127e829a79160de14b38
genetlink: trigger BUG_ON if a group name is too long

Trigger BUG_ON if a group name is longer than GENL_NAMSIZ.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/genetlink.c