Skip to content
Commit c988d1e8 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

net: ipv4: fix schedule while atomic bug in check_lifetime()



move might_sleep operations out of the rcu_read_lock() section.
Also fix iterating over ifa_dev->ifa_list

Introduced by: commit 5c766d64 "ipv4: introduce address lifetime"

Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 05a324b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment