[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170208.131857.813682261784593072.davem@davemloft.net>
Date: Wed, 08 Feb 2017 13:18:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: steffen.klassert@...unet.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
sowmini.varadhan@...cle.com, ilant@...lanox.com
Subject: Re: [PATCH RFC ipsec-next 1/5] xfrm: Add a secpath_set helper.
From: Steffen Klassert <steffen.klassert@...unet.com>
Date: Tue, 7 Feb 2017 10:14:07 +0100
> +int secpath_set(struct sk_buff *skb)
> +{
> + struct sec_path *sp;
> +
> + /* Allocate new secpath or COW existing one. */
> + if (!skb->sp || atomic_read(&skb->sp->refcnt) != 1) {
> +
> + sp = secpath_dup(skb->sp);
Please remove this empty line.
Thanks.
Powered by blists - more mailing lists