]> git.baikalelectronics.ru Git - kernel.git/commit
staging: octeon: fix build failure with XFRM enabled
authorFlorian Westphal <fw@strlen.de>
Fri, 21 Dec 2018 20:57:26 +0000 (21:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Dec 2018 22:13:58 +0000 (14:13 -0800)
commit1cad4a4c14f68f3bc74fe5dc5f3b15446a228ac7
tree0906aaf6a29c4eb1c5fb977dc33e6151439e1c65
parentb3858d593d2949b48838328f7010cb0e4ffc3385
staging: octeon: fix build failure with XFRM enabled

skb->sp doesn't exist anymore in the next-next tree, so mips defconfig
no longer builds.  Use helper instead to reset the secpath.

Not even compile tested.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: ca43b7ac29f03 ("net: switch secpath to use skb extension infrastructure")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/staging/octeon/ethernet-tx.c