projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7fdc3
)
[IPV4]: Clear the whole IPCB, this clears also IPCB(skb)->flags.
author
Guillaume Chazarain
<guichaz@yahoo.fr>
Tue, 25 Jul 2006 06:45:16 +0000
(23:45 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 25 Jul 2006 06:45:16 +0000
(23:45 -0700)
Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_input.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ip_input.c
b/net/ipv4/ip_input.c
index 184c78ca79e65e895800153e351ca4fbaa7e7e60..212734ca238fa88e2bcee0eb43e13c246a5f9720 100644
(file)
--- a/
net/ipv4/ip_input.c
+++ b/
net/ipv4/ip_input.c
@@
-429,7
+429,7
@@
int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
}
/* Remove any debris in the socket control block */
- memset(
&(IPCB(skb)->opt), 0, sizeof(struct ip_options
));
+ memset(
IPCB(skb), 0, sizeof(struct inet_skb_parm
));
return NF_HOOK(PF_INET, NF_IP_PRE_ROUTING, skb, dev, NULL,
ip_rcv_finish);