mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
net: Fix typo of SKB_SGO_CB_OFFSET
The SKB_SGO_CB_OFFSET should be SKB_GSO_CB_OFFSET which means the
offset of the GSO in skb cb. This patch fixes the typo.
Fixes: 9207f9d45b
("net: preserve IP control block during GSO segmentation")
Signed-off-by: Cambda Zhu <cambda@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3b85720d3f
commit
a08e7fd912
6 changed files with 9 additions and 9 deletions
|
@ -305,7 +305,7 @@ static int queue_gso_packets(struct datapath *dp, struct sk_buff *skb,
|
|||
struct sk_buff *segs, *nskb;
|
||||
int err;
|
||||
|
||||
BUILD_BUG_ON(sizeof(*OVS_CB(skb)) > SKB_SGO_CB_OFFSET);
|
||||
BUILD_BUG_ON(sizeof(*OVS_CB(skb)) > SKB_GSO_CB_OFFSET);
|
||||
segs = __skb_gso_segment(skb, NETIF_F_SG, false);
|
||||
if (IS_ERR(segs))
|
||||
return PTR_ERR(segs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue