]> git.baikalelectronics.ru Git - kernel.git/commit
udp: unbreak build lacking CONFIG_XFRM
authorPaolo Abeni <pabeni@redhat.com>
Wed, 26 Jul 2017 09:33:49 +0000 (11:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jul 2017 16:35:29 +0000 (09:35 -0700)
commitb3f4546dbb6e7a023a6c0c481b3f811ccb352e19
tree8d8d7b5499f7c69fcd4d0a852db1c9c78e4e145d
parent1bd05ba4475a99676d728af6b069d3b981daeda9
udp: unbreak build lacking CONFIG_XFRM

We must use pre-processor conditional block or suitable accessors to
manipulate skb->sp elsewhere builds lacking the CONFIG_XFRM will break.

Fixes: 106e23b12bf6 ("udp: preserve head state for IP_CMSG_PASSSEC")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c