diff options
author | Xi Wang <xi.wang@gmail.com> | 2013-01-05 15:19:24 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-07 09:11:18 +0400 |
commit | c7e2e1d72ed7707239d20525e0ebcad7e3303659 (patch) | |
tree | 1ada00f778308f034bfc082b03f740955599f526 /net/ipv4/xfrm4_tunnel.c | |
parent | ae62ca7b03217be5e74759dc6d7698c95df498b3 (diff) | |
download | linux-c7e2e1d72ed7707239d20525e0ebcad7e3303659.tar.xz |
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>
Diffstat (limited to 'net/ipv4/xfrm4_tunnel.c')
0 files changed, 0 insertions, 0 deletions