Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9c2842bd94dd72d77bddb498bdd76342a0089168
Commit:     9c2842bd94dd72d77bddb498bdd76342a0089168
Parent:     861d04860725dc85944bf9fa815af338d9e56b43
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 15 01:50:09 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Oct 15 12:26:35 2007 -0700

    [BRIDGE]: Remove SKB share checks in br_nf_pre_routing().
    
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/bridge/br_netfilter.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c
index 246bf23..da22f90 100644
--- a/net/bridge/br_netfilter.c
+++ b/net/bridge/br_netfilter.c
@@ -511,9 +511,6 @@ static unsigned int br_nf_pre_routing(unsigned int hook, 
struct sk_buff *skb,
        struct iphdr *iph;
        __u32 len = nf_bridge_encap_header_len(skb);
 
-       if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL)
-               return NF_STOLEN;
-
        if (unlikely(!pskb_may_pull(skb, len)))
                goto out;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to