I'd propose the following patch as a reasonable fix. It first tests
whether there are any sacks at all, and if not immediately adds the
new one. (I don't think it's a good idea to be looking at the sack
array if there are no sacks.)
Really nice work Bill, I've applied your patch. Thanks.
Later,
David S. Miller
davem@dm.cobaltmicro.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/