Jelajahi Sumber

xfrm: Const'ify address argument to xfrm_addr_any()

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 14 tahun lalu
induk
melakukan
6cc329610f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      include/net/xfrm.h

+ 1 - 1
include/net/xfrm.h

@@ -954,7 +954,7 @@ secpath_reset(struct sk_buff *skb)
 }
 
 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) {
 	case AF_INET: