projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
ccf7abb
837585a
)
Merge branch 'read-vnet_hdr_sz-once'
author
David S. Miller
<davem@davemloft.net>
Tue, 7 Feb 2017 03:41:27 +0000
(22:41 -0500)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Feb 2017 03:41:27 +0000
(22:41 -0500)
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>
Trivial merge