aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/key/af_key.c2
-rw-r--r--net/xfrm/xfrm_state.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 20ff7cca1d07..4e1830999482 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -2938,7 +2938,7 @@ out:
2938 return NULL; 2938 return NULL;
2939} 2939}
2940 2940
2941static int pfkey_send_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport) 2941static int pfkey_send_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
2942{ 2942{
2943 struct sk_buff *skb; 2943 struct sk_buff *skb;
2944 struct sadb_msg *hdr; 2944 struct sadb_msg *hdr;
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 899de9ed22a6..864962bbda90 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -1304,7 +1304,7 @@ int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol)
1304} 1304}
1305EXPORT_SYMBOL(km_query); 1305EXPORT_SYMBOL(km_query);
1306 1306
1307int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport) 1307int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
1308{ 1308{
1309 int err = -EINVAL; 1309 int err = -EINVAL;
1310 struct xfrm_mgr *km; 1310 struct xfrm_mgr *km;