diff options
| author | Vladimir Oltean <[email protected]> | 2021-03-22 10:38:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-22 20:11:59 +0000 |
| commit | f5fcca89f59c84a917e6d470258a12eb3244875e (patch) | |
| tree | a055c56bc7ec01eaf4f934f2848ca7479efc389b /net/lapb/lapb_in.c | |
| parent | cxgb4: Remove redundant NULL check (diff) | |
| download | kernel-f5fcca89f59c84a917e6d470258a12eb3244875e.tar.gz kernel-f5fcca89f59c84a917e6d470258a12eb3244875e.zip | |
net: bridge: declare br_vlan_tunnel_lookup argument tunnel_id as __be64
The only caller of br_vlan_tunnel_lookup, br_handle_ingress_vlan_tunnel,
extracts the tunnel_id from struct ip_tunnel_info::struct ip_tunnel_key::
tun_id which is a __be64 value.
The exact endianness does not seem to matter, because the tunnel id is
just used as a lookup key for the VLAN group's tunnel hash table, and
the value is not interpreted directly per se. Moreover,
rhashtable_lookup_fast treats the key argument as a const void *.
Therefore, there is no functional change associated with this patch,
just one to silence "make W=1" builds.
Signed-off-by: Vladimir Oltean <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
