commit | c7e2e1d72ed7707239d20525e0ebcad7e3303659 | [log] [tgz] |
---|---|---|
author | Xi Wang <xi.wang@gmail.com> | Sat Jan 05 11:19:24 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 06 21:11:18 2013 -0800 |
tree | 1ada00f778308f034bfc082b03f740955599f526 | |
parent | ae62ca7b03217be5e74759dc6d7698c95df498b3 [diff] |
ipv4: fix NULL checking in devinet_ioctl() The NULL pointer check `!ifa' should come before its first use. [ Bug origin : commit fd23c3b31107e2fc483301ee923d8a1db14e53f4 (ipv4: Add hash table of interface addresses) in linux-2.6.39 ] Signed-off-by: Xi Wang <xi.wang@gmail.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>