commit | 80032cffb95edff4fc216b1cb21682257be326b7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Wed Apr 21 23:53:27 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 22 15:57:26 2010 -0700 |
tree | e058d007a9db28dcb61a5903b6d79e5e6b96f0c3 | |
parent | f4f914b58019f0e50d521bbbadfaee260d766f95 [diff] |
rtnetlink: potential ERR_PTR dereference In the original code, if rtnl_create_link() returned an ERR_PTR then that would get passed to rtnl_configure_link() which dereferences it. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>