• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: コミット

2.4.36-stable kernel tree


コミットメタ情報

リビジョンe354203e83317bdcb7186a920982f992f468ad02 (tree)
日時2008-09-07 18:29:27
作者Willy Tarreau <w@1wt....>
コミッターWilly Tarreau

ログメッセージ

sky2: fix uninitialized "mss" variable in sky2_xmit_frame()

This variable was initialized within the #if NETIF_F_TSO block
which is not used on kernel 2.4. This has probably caused a
bunch of unstability. This driver would need a new backport
anyway.

Signed-off-by: Willy Tarreau <w@1wt.eu>

変更サマリ

差分

--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -1157,7 +1157,7 @@ static int sky2_xmit_frame(struct sk_buff *skb, struct net_device *dev)
11571157 int avail;
11581158 dma_addr_t mapping;
11591159 u32 addr64;
1160- u16 mss;
1160+ u16 mss = 0;
11611161 u8 ctrl;
11621162
11631163 spin_lock_irqsave(&sky2->tx_lock, flags);
旧リポジトリブラウザで表示