summaryrefslogtreecommitdiff
path: root/xutils.c
AgeCommit message (Expand)AuthorFilesLines
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+1024
td/>
authorDavid S. Miller <davem@davemloft.net>2017-02-06 22:41:27 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-06 22:41:27 -0500
commit432d4f8ab03527958294ad5e539acaebfc4625e3 (patch)
tree9acf1060c120551d70a9b31fc8075bf1d834eb98
parentccf7abb93af09ad0868ae9033d1ca8108bdaec82 (diff)
parent837585a5375c38d40361cfe64e6fd11e1addb936 (diff)
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>
Diffstat
-rw-r--r--drivers/net/macvtap.c4
-rw-r--r--drivers/net/tun.c10
2 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c