| Submitter | Wu Fengguang |
|---|---|
| Date | July 6, 2012, 5:58 a.m. |
| Message ID | <20120706055859.GA27693@localhost> |
| Download | mbox | patch |
| Permalink | /patch/169325/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index ceff71d..6cc6c88 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -273,7 +273,7 @@ static inline struct rt6_info *ip6_dst_alloc(struct net *net, 0, 0, flags); if (rt) { - memset(&rt->rt6i_table, 0, + memset(&rt->n, 0, sizeof(*rt) - sizeof(struct dst_entry)); rt6_init_peer(rt, table ? &table->tb6_peers : net->ipv6.peers); }