dcb: Add missing error check in dcb_ieee_set()
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 21 Jun 2011 07:35:04 +0000 (07:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2011 23:06:12 +0000 (16:06 -0700)
commit4003b65871c101eb5ce8f37a325feac54aa5c681
tree67f7f335bbc5dc1043f69bde2ba7cd54ee468fe7
parentab6baf980b095c70a56c5eb2f58166aef8a0edc8
dcb: Add missing error check in dcb_ieee_set()

Missing error checking before nla_parse_nested().

Reported-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c