Skip to contentSkip to conversation

xfrm: Const'ify address argument to xfrm_addr_any()

PATCH New David Miller 1 participant 1 message Feb 24, 2011

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 7/26 xfrm: Const'ify address argument to xfrm_addr_any()

---
 include/net/xfrm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/net/xfrm.h +1 -1
index 1c82b94..b60f956 100644
@@ -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:
Signature · 1 line
1.7.4.1