From e9e8089c5de74e496249930f4c980d8d9b7abc5f Mon Sep 17 00:00:00 2001 From: Hideaki Yoshifuji Date: Sun, 8 Feb 2004 19:11:57 -0800 Subject: [PATCH] [IPVS]: Use LL_RESERVED_SPACE() where applicable. --- net/ipv4/ipvs/ip_vs_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/ipvs/ip_vs_xmit.c b/net/ipv4/ipvs/ip_vs_xmit.c index 56cc2614c090b..850e6f044f8e0 100644 --- a/net/ipv4/ipvs/ip_vs_xmit.c +++ b/net/ipv4/ipvs/ip_vs_xmit.c @@ -370,7 +370,7 @@ ip_vs_tunnel_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, /* * Okay, now see if we can stuff it in the buffer as-is. */ - max_headroom = (((tdev->hard_header_len+15)&~15)+sizeof(struct iphdr)); + max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr); if (skb_headroom(skb) < max_headroom || skb_cloned(skb) || skb_shared(skb)) { -- 2.53.0