Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214529
b: refs/heads/master
c: 02e9608
h: refs/heads/master
i:
  214527: 28ce22c
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Sep 15, 2010
1 parent e5f463c commit e253fee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fea32b9555726d35b91492d17fc21c7874d36f9
refs/heads/master: 02e96080af2b70313f2ffc8c1b03ae2f9d8c65ac
6 changes: 3 additions & 3 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -5574,9 +5574,9 @@ static netdev_tx_t tg3_start_xmit(struct sk_buff *skb,
goto out_unlock;
}

if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6)
if (skb_is_gso_v6(skb)) {
hdrlen = skb_headlen(skb) - ETH_HLEN;
else {
} else {
struct iphdr *iph = ip_hdr(skb);

tcp_opt_len = tcp_optlen(skb);
Expand Down Expand Up @@ -5798,7 +5798,7 @@ static netdev_tx_t tg3_start_xmit_dma_bug(struct sk_buff *skb,
iph = ip_hdr(skb);
tcp_opt_len = tcp_optlen(skb);

if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) {
if (skb_is_gso_v6(skb)) {
hdr_len = skb_headlen(skb) - ETH_HLEN;
} else {
u32 ip_tcp_len;
Expand Down

0 comments on commit e253fee

Please sign in to comment.