Don't potentially dereference NULL in net/dcb/dcbnl.c:dcbnl_getapp()
authorJesper Juhl <jj@chaosbits.net>
Thu, 10 Feb 2011 11:57:16 +0000 (11:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Feb 2011 19:21:14 +0000 (11:21 -0800)
nla_nest_start() may return NULL. If it does then we'll blow up in
nla_nest_end() when we dereference the pointer.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found