|
@@ -29,8 +29,8 @@ static void tcp_gso_tstamp(struct sk_buff *skb, unsigned int ts_seq,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-struct sk_buff *tcp4_gso_segment(struct sk_buff *skb,
|
|
|
- netdev_features_t features)
|
|
|
+static struct sk_buff *tcp4_gso_segment(struct sk_buff *skb,
|
|
|
+ netdev_features_t features)
|
|
|
{
|
|
|
if (!pskb_may_pull(skb, sizeof(struct tcphdr)))
|
|
|
return ERR_PTR(-EINVAL);
|