Re: [PATCH ipsec-next v3 2/2] xfrm: configure policy hash table thresholds by netlink
From: Christophe Gouault <hidden>
Date: 2014-08-29 10:02:02
From: Christophe Gouault <hidden>
Date: 2014-08-29 10:02:02
2014-08-29 11:54 GMT+02:00 Steffen Klassert [off-list ref]:
On Wed, Aug 27, 2014 at 05:48:15PM +0200, Christophe Gouault wrote:quoted
+static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, + struct nlattr **attrs) +{ + struct net *net = sock_net(skb->sk); + u32 *flags = nlmsg_data(nlh); + u32 sportid = NETLINK_CB(skb).portid; + u32 seq = nlh->nlmsg_seq;flags, sportid and seq are unused now. Please remove them.
OK, I'll send an update. Christophe.