diff options
author | Patrick McHardy <kaber@trash.net> | 2007-10-15 01:50:09 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-15 12:26:35 -0700 |
commit | 9c2842bd94dd72d77bddb498bdd76342a0089168 (patch) | |
tree | 6851dc3e4eb14fd083c778fe6cf78f86721ca063 /net/bridge | |
parent | 861d04860725dc85944bf9fa815af338d9e56b43 (diff) | |
download | talos-obmc-linux-9c2842bd94dd72d77bddb498bdd76342a0089168.tar.gz talos-obmc-linux-9c2842bd94dd72d77bddb498bdd76342a0089168.zip |
[BRIDGE]: Remove SKB share checks in br_nf_pre_routing().
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | 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 246bf23a8775..da22f900e89d 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; |