I'm very new to the Linux kernel. I need modify the tcp cubic algorithm. What's the best way to recompile tcp_cubic.c? Download the kernel source file and recompile the entire kernel?
Make your changes, go to the linux directory (top level of the kernel source), and do
make modules bzImage