Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 234361 | Differences between
and this patch

Collapse All | Expand All

(-)vpnclient-orig/frag.c (-1 / +3 lines)
Lines 22-28 Link Here
22
#include "frag.h"
22
#include "frag.h"
23
23
24
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
24
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
25
#define SKB_IPHDR(skb) ((struct iphdr*)skb->network_header)
25
/* 2.6.22 added an inline function for 32-/64-bit usage here, so use it.
26
 */
27
#define SKB_IPHDR(skb) ((struct iphdr*)skb_network_header)
26
#else
28
#else
27
#define SKB_IPHDR(skb) skb->nh.iph
29
#define SKB_IPHDR(skb) skb->nh.iph
28
#endif
30
#endif

Return to bug 234361