OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
861d048
)
[BRIDGE]: Remove SKB share checks in br_nf_pre_routing().
author
Patrick McHardy
<kaber@trash.net>
Mon, 15 Oct 2007 08:50:09 +0000
(
01:50
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:35 +0000
(12:26 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_netfilter.c
b/net/bridge/br_netfilter.c
index
246bf23
..
da22f90
100644
(file)
--- 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;