]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-pom-ng-IPV4OPTSSTRIP.patch
- 5.4.233
[packages/kernel.git] / kernel-pom-ng-IPV4OPTSSTRIP.patch
index cb970ec23126bb980256fcd03e239faf82ff378d..72ea2cf4091920fc456976a90a35f024ab283b8b 100644 (file)
@@ -2,8 +2,8 @@ diff -NurpP --minimal linux-2.6.21.b/net/ipv4/netfilter/Kconfig linux-2.6.21.a/n
 --- linux-2.6.21.b/net/ipv4/netfilter/Kconfig  2007-05-30 11:11:52.000000000 +0200
 +++ linux-2.6.21.a/net/ipv4/netfilter/Kconfig  2007-05-30 11:18:08.000000000 +0200
 @@ -668,5 +668,15 @@ config IP_NF_ARP_MANGLE
-         Allows altering the ARP packet payload: source and destination
-         hardware and network addresses.
+ endif # IP_NF_ARPTABLES
  
 +config IP_NF_TARGET_IPV4OPTSSTRIP
 +      tristate  'IPV4OPTSSTRIP target support'
@@ -57,7 +57,7 @@ diff -NurpP --minimal linux-2.6.21.b/net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c linu
 +      unsigned char *optiph;
 +      int l;
 +      
-+      if (!skb_make_writable(skb, skb->len))
++      if (skb_ensure_writable(skb, skb->len))
 +              return NF_DROP;
 + 
 +      iph = ip_hdr(skb);
This page took 0.055207 seconds and 4 git commands to generate.