projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/net/bridge/br_netfilter.c
b/net/bridge/br_netfilter.c
index 246bf23a8775c991578e9cc8519fc5d280ea310a..da22f900e89dca6f54b9b46990e37d6f7feb8086 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;