ipvlan: Fix insufficient skb linear check
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipvlan: Fix insufficient skb linear check for arpdrivers/ | +8 | 0 replies | |
| 2/2 | ipvlan: Fix insufficient skb linear check for ipv6 icmpdrivers/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/2] ipvlan: Fix insufficient skb linear check
From: Gao Feng <[email protected]>
The current ipvlan codes use pskb_may_pull to get the skb linear header in func ipvlan_get_L3_hdr, but the size isn't enough for arp and ipv6 icmp. So it may access the unexpected momory in ipvlan_addr_lookup.
Gao Feng (2):
ipvlan: Fix insufficient skb linear check for arp
ipvlan: Fix insufficient skb linear check for ipv6 icmp
drivers/net/ipvlan/ipvlan_core.c | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.1