read vnet_hdr_sz once
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tun: read vnet_hdr_sz oncedrivers/ | +6 | 1 reply | |
| 2/2 | macvtap: read vnet_hdr_size oncedrivers/ | +2 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/2] read vnet_hdr_sz once
From: Willem de Bruijn <[email protected]>
Tuntap devices allow concurrent use and update of field vnet_hdr_sz. Read the field once to avoid TOCTOU.
Willem de Bruijn (2):
tun: read vnet_hdr_sz once
macvtap: read vnet_hdr_size once
drivers/net/macvtap.c | 4 ++-- drivers/net/tun.c | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.11.0.483.g087da7b7c-goog