X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=net%2Fkey%2Faf_key.c;h=472f6594184ade7da3a7d37bb472e55084be30f5;hb=3b885787ea4112eaa80945999ea0901bf742707f;hp=4e98193dfa0fcd05532a18c7b8ff3a0e832ace5e;hpb=f0a221ef47df3cdde2123fe75ce3b61bb7df656d;p=mirror_ubuntu-bionic-kernel.git diff --git a/net/key/af_key.c b/net/key/af_key.c index 4e98193dfa0f..472f6594184a 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c @@ -3606,7 +3606,7 @@ static int pfkey_recvmsg(struct kiocb *kiocb, if (err) goto out_free; - sock_recv_timestamp(msg, sk, skb); + sock_recv_ts_and_drops(msg, sk, skb); err = (flags & MSG_TRUNC) ? skb->len : copied; @@ -3644,7 +3644,7 @@ static const struct proto_ops pfkey_ops = { .recvmsg = pfkey_recvmsg, }; -static struct net_proto_family pfkey_family_ops = { +static const struct net_proto_family pfkey_family_ops = { .family = PF_KEY, .create = pfkey_create, .owner = THIS_MODULE,