Merge branch 'read-vnet_hdr_sz-once'

Willem de Bruijn says:

====================
read vnet_hdr_sz once

Tuntap devices allow concurrent use and update of field vnet_hdr_sz.
Read the field once to avoid TOCTOU.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2017-02-06 22:41:27 -05:00
commit 432d4f8ab0
2 changed files with 8 additions and 6 deletions