net: reduce structures when XFRM=n
ifdef out * struct sk_buff::sp (pointer) * struct dst_entry::xfrm (pointer) * struct sock::sk_policy (2 pointers) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b057efd4d2
commit
def8b4faff
@ -490,7 +490,7 @@ int ip6_forward(struct sk_buff *skb)
|
||||
We don't send redirects to frames decapsulated from IPsec.
|
||||
*/
|
||||
if (skb->dev == dst->dev && dst->neighbour && opt->srcrt == 0 &&
|
||||
!skb->sp) {
|
||||
!skb_sec_path(skb)) {
|
||||
struct in6_addr *target = NULL;
|
||||
struct rt6_info *rt;
|
||||
struct neighbour *n = dst->neighbour;
|
||||
|
Reference in New Issue
Block a user