commit | 84ce1ddfefc3d5a8af5ede6fe16546c143117616 | [log] [tgz] |
---|---|---|
author | Alexander Aring <alex.aring@gmail.com> | Fri Aug 16 21:59:54 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 20 13:23:11 2013 -0700 |
tree | 98b9d4802551ab24abe7805ad9eabf28b879fac2 | |
parent | 4cffa13d2d6c746bcbe460facaa6a9f22e9cda1f [diff] |
6lowpan: init ipv6hdr buffer to zero This patch simplify the handling to set fields inside of struct ipv6hdr to zero. Instead of setting some memory regions with memset to zero we initialize the whole ipv6hdr to zero. This is a simplification for parsing the 6lowpan header for the upcomming patches. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Werner Almesberger <werner@almesberger.net> Signed-off-by: David S. Miller <davem@davemloft.net>