mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
[IPV4]: inet_select_addr() annotations
argument and return value are net-endian. Annotated function and inferred net-endian variables in callers. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
011a926108
commit
a61ced5d1c
7 changed files with 10 additions and 10 deletions
|
@ -330,10 +330,10 @@ static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb)
|
|||
|
||||
static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
|
||||
{
|
||||
u32 saddr = 0;
|
||||
__be32 saddr = 0;
|
||||
u8 *dst_ha = NULL;
|
||||
struct net_device *dev = neigh->dev;
|
||||
u32 target = *(u32*)neigh->primary_key;
|
||||
__be32 target = *(__be32*)neigh->primary_key;
|
||||
int probes = atomic_read(&neigh->probes);
|
||||
struct in_device *in_dev = in_dev_get(dev);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue