search for: mlx5e_tx_skb_cb

Displaying 2 results from an estimated 2 matches for "mlx5e_tx_skb_cb".

2017 Nov 02
2
Possible unsafe usage of skb->cb in virtio-net
...a4517c8b23e1214a09332 > > Thanks, > Ilya Thanks a lot for the pointer. I think this was in response to this: https://patchwork.ozlabs.org/patch/558324/ > > > > + skb_push(skb, skb->data - skb_data_orig); > > sq->skb[pi] = skb; > > > > MLX5E_TX_SKB_CB(skb)->num_wqebbs = DIV_ROUND_UP(ds_cnt, > > And in the middle of this we have: > > skb_pull_inline(skb, ihs); > > This is looks illegal. > > You must not modify the data pointers of any SKB that you receive for > sending via ->ndo_start_xmit() un...
2017 Nov 02
2
Possible unsafe usage of skb->cb in virtio-net
...a4517c8b23e1214a09332 > > Thanks, > Ilya Thanks a lot for the pointer. I think this was in response to this: https://patchwork.ozlabs.org/patch/558324/ > > > > + skb_push(skb, skb->data - skb_data_orig); > > sq->skb[pi] = skb; > > > > MLX5E_TX_SKB_CB(skb)->num_wqebbs = DIV_ROUND_UP(ds_cnt, > > And in the middle of this we have: > > skb_pull_inline(skb, ihs); > > This is looks illegal. > > You must not modify the data pointers of any SKB that you receive for > sending via ->ndo_start_xmit() un...