Skip to content
Commit 9e56e380 authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: Adjust in_dev handling in fib_validate_source()



Checking for in_dev being NULL is pointless.

In fact, all of our callers have in_dev precomputed already,
so just pass it in and remove the NULL checking.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a207a4b2
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