Files
linux/drivers
Jiri Wiesner 0426d7bc17 bonding: Return pointer to data after pull on skb
commit d93f3f9927 upstream.

Since 429e3d123d ("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: 429e3d123d ("bonding: Fix extraction of ports from the packet headers")
Signed-off-by: Jiri Wiesner <jwiesner@suse.de>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 11:58:57 +02:00
..
2023-09-19 12:22:47 +02:00
2023-10-25 11:58:55 +02:00
2023-07-23 13:47:51 +02:00
2023-07-23 13:47:25 +02:00
2023-09-19 12:22:48 +02:00
2023-10-06 13:18:18 +02:00
2023-07-23 13:47:20 +02:00