diff options
author | Cambda Zhu <cambda@linux.alibaba.com> | 2020-03-26 15:33:14 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-29 21:53:18 -0700 |
commit | a08e7fd9123d85dfdf8d1dc61dbe321c8359d25f (patch) | |
tree | e23389f0de1b8517ea3ea83300a8c98a3fd612d8 /net/openvswitch/datapath.c | |
parent | 3b85720d3fd72e6ef4de252cd2f67548eb645eb4 (diff) | |
download | lwn-a08e7fd9123d85dfdf8d1dc61dbe321c8359d25f.tar.gz lwn-a08e7fd9123d85dfdf8d1dc61dbe321c8359d25f.zip |
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: 9207f9d45b0a ("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>
Diffstat (limited to 'net/openvswitch/datapath.c')
-rw-r--r-- | net/openvswitch/datapath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 07a7dd185995..d8ae541d22a8 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c @@ -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); |