commit | 141e369de698f2e17bf716b83fcc647ddcb2220c | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Thu Jul 05 23:39:34 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 14 00:29:12 2012 -0700 |
tree | 0945d0d7baa1cedc2e2d2dd00d98102c34f67b6d | |
parent | 8104891b86b212de77063660c0c062b427526fa6 [diff] |
xfrm: Initialize the struct xfrm_dst behind the dst_enty field We start initializing the struct xfrm_dst at the first field behind the struct dst_enty. This is error prone because it might leave a new field uninitialized. So start initializing the struct xfrm_dst right behind the dst_entry. Suggested-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>