mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
libnl: nla_put_msecs(): align on a 64-bit area
nla_data() is now aligned on a 64-bit area. Signed-off-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
756a2f59b7
commit
2175d87cc3
7 changed files with 27 additions and 16 deletions
|
|
@ -746,7 +746,8 @@ static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int fl
|
|||
nla_put_u8(skb, L2TP_ATTR_USING_IPSEC, 1)) ||
|
||||
#endif
|
||||
(session->reorder_timeout &&
|
||||
nla_put_msecs(skb, L2TP_ATTR_RECV_TIMEOUT, session->reorder_timeout)))
|
||||
nla_put_msecs(skb, L2TP_ATTR_RECV_TIMEOUT,
|
||||
session->reorder_timeout, L2TP_ATTR_PAD)))
|
||||
goto nla_put_failure;
|
||||
|
||||
nest = nla_nest_start(skb, L2TP_ATTR_STATS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue