[IPV4]: annotate inetdev.h helpers
inet_confirm_addr(), inet_ifa_byprefix(), ip_dev_find(), inet_make_mask() and inet_ifa_match() annotated, along with inferred net-endian variables Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@ -122,7 +122,7 @@ static void fib_flush(void)
|
||||
* Find the first device with a given source address.
|
||||
*/
|
||||
|
||||
struct net_device * ip_dev_find(u32 addr)
|
||||
struct net_device * ip_dev_find(__be32 addr)
|
||||
{
|
||||
struct flowi fl = { .nl_u = { .ip4_u = { .daddr = addr } } };
|
||||
struct fib_result res;
|
||||
|
Reference in New Issue
Block a user