Merge tag 'for-linus' of git://github.com/openrisc/linux
[linux] / net / netfilter / nft_xfrm.c
index 5322609..b08865e 100644 (file)
@@ -161,7 +161,7 @@ static void nft_xfrm_get_eval_in(const struct nft_xfrm *priv,
                                    struct nft_regs *regs,
                                    const struct nft_pktinfo *pkt)
 {
-       const struct sec_path *sp = pkt->skb->sp;
+       const struct sec_path *sp = skb_sec_path(pkt->skb);
        const struct xfrm_state *state;
 
        if (sp == NULL || sp->len <= priv->spnum) {