commit | c73fad78603e130b80a10a498582ff701ac93515 | [log] [tgz] |
---|---|---|
author | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> | Wed Nov 16 22:45:22 2016 +0000 |
committer | Stephen Hemminger <sthemmin@microsoft.com> | Tue Nov 29 13:31:30 2016 -0800 |
tree | e15d0a0ff1614d3e1d9297a41ac476516c275e34 | |
parent | 4d51b3331eae9cbd77e22272903f6f0efd0b4847 [diff] |
l2tp: fix L2TP_ATTR_UDP_CSUM handling L2TP_ATTR_UDP_CSUM is read by the kernel as a NLA_FLAG value, but is validated as a NLA_U8, so we will write it as an u8, but the value isn't actually being read by the kernel. It is written by the kernel as a NLA_U8, so we will read as such. Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st>