Skip to content
Commit c7e2e1d7 authored by Xi Wang's avatar Xi Wang Committed by David S. Miller
Browse files

ipv4: fix NULL checking in devinet_ioctl()



The NULL pointer check `!ifa' should come before its first use.

[ Bug origin : commit fd23c3b3
  (ipv4: Add hash table of interface addresses) in linux-2.6.39 ]

Signed-off-by: default avatarXi Wang <xi.wang@gmail.com>
Acked-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ae62ca7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment