OSDN Git Service

sky2: fix uninitialized "mss" variable in sky2_xmit_frame()
authorWilly Tarreau <w@1wt.eu>
Sun, 7 Sep 2008 08:45:38 +0000 (10:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Sep 2008 09:29:27 +0000 (11:29 +0200)
commite354203e83317bdcb7186a920982f992f468ad02
tree04f82707a5a40d3592c3e732970a2ac6a81122ac
parent61592d6c077f418fe7b4986b75deecf79e9fb7fd
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>
drivers/net/sky2.c