diff options
author | Jiri Wiesner <[email protected]> | 2023-10-10 18:39:33 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-13 11:21:13 +0100 |
commit | d93f3f992780af4a21e6c1ab86946b7c5602f1b9 (patch) | |
tree | 2b71dba90125faf2f655c41329cf1251d7fe8bfc /tools/net/ynl/generated/devlink-user.c | |
parent | e8c127b0576660da9195504fe8393fe9da3de9ce (diff) |
bonding: Return pointer to data after pull on skb
Since 429e3d123d9a ("bonding: Fix extraction of ports from the packet
headers"), header offsets used to compute a hash in bond_xmit_hash() are
relative to skb->data and not skb->head. If the tail of the header buffer
of an skb really needs to be advanced and the operation is successful, the
pointer to the data must be returned (and not a pointer to the head of the
buffer).
Fixes: 429e3d123d9a ("bonding: Fix extraction of ports from the packet headers")
Signed-off-by: Jiri Wiesner <[email protected]>
Acked-by: Jay Vosburgh <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions