When adding Netlink attributes, increase header length with potential alignment
authorMartin Willi <martin@revosec.ch>
Mon, 11 Mar 2013 11:32:21 +0000 (12:32 +0100)
committerMartin Willi <martin@revosec.ch>
Mon, 11 Mar 2013 11:32:21 +0000 (12:32 +0100)
commitd3f5a05e292f63ef285a1f0a458669f59bf179fc
tree93e33d741ad66fb9d8e50579a105e94aa52f5357
parent8f727d8007510839a17796b53afe090a8955e23d
When adding Netlink attributes, increase header length with potential alignment

If the payload is unaligned, we must make sure the total netlink message
length includes the added alignment for the first attribute.
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c