aboutsummaryrefslogtreecommitdiffstats
path: root/net/key/af_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/key/af_key.c')
-rw-r--r--net/key/af_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 7e5d927b576f..34e418508a67 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -1714,7 +1714,7 @@ static int key_notify_sa_flush(const struct km_event *c)
1714static int pfkey_flush(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs) 1714static int pfkey_flush(struct sock *sk, struct sk_buff *skb, const struct sadb_msg *hdr, void * const *ext_hdrs)
1715{ 1715{
1716 struct net *net = sock_net(sk); 1716 struct net *net = sock_net(sk);
1717 unsigned proto; 1717 unsigned int proto;
1718 struct km_event c; 1718 struct km_event c;
1719 struct xfrm_audit audit_info; 1719 struct xfrm_audit audit_info;
1720 int err, err2; 1720 int err, err2;
@@ -3547,7 +3547,7 @@ static int pfkey_sendmsg(struct kiocb *kiocb,
3547 goto out; 3547 goto out;
3548 3548
3549 err = -EMSGSIZE; 3549 err = -EMSGSIZE;
3550 if ((unsigned)len > sk->sk_sndbuf - 32) 3550 if ((unsigned int)len > sk->sk_sndbuf - 32)
3551 goto out; 3551 goto out;
3552 3552
3553 err = -ENOBUFS; 3553 err = -ENOBUFS;