xfrm: Const'ify address argument to xfrm_addr_any()
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ff6acd1682
commit
6cc329610f
|
@ -954,7 +954,7 @@ secpath_reset(struct sk_buff *skb)
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
xfrm_addr_any(xfrm_address_t *addr, unsigned short family)
|
xfrm_addr_any(const xfrm_address_t *addr, unsigned short family)
|
||||||
{
|
{
|
||||||
switch (family) {
|
switch (family) {
|
||||||
case AF_INET:
|
case AF_INET:
|
||||||
|
|
Loading…
Reference in New Issue