Browse Source

pfkey: fix warning

If CONFIG_NET_KEY_MIGRATE is not defined the arguments of
pfkey_migrate stub do not match causing warning.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
imx_3.10.17_1.0.0_ga
Stephen Hemminger 10 years ago
committed by David S. Miller
parent
commit
7f6daa635c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/key/af_key.c

+ 1
- 1
net/key/af_key.c View File

@ -2560,7 +2560,7 @@ static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
}
#else
static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
struct sadb_msg *hdr, void **ext_hdrs)
const struct sadb_msg *hdr, void * const *ext_hdrs)
{
return -ENOPROTOOPT;
}


Loading…
Cancel
Save