Page MenuHomeFreeBSD

tcp: minor cleanup
ClosedPublic

Authored by tuexen on Mon, Aug 24, 7:47 AM.
Tags
None
Referenced Files
F169132950: D59142.id184868.diff
Mon, Aug 31, 1:09 PM
Unknown Object (File)
Sun, Aug 30, 4:19 PM
Unknown Object (File)
Sun, Aug 30, 11:53 AM
Unknown Object (File)
Sat, Aug 29, 12:46 PM
Unknown Object (File)
Fri, Aug 28, 8:36 PM
Unknown Object (File)
Fri, Aug 28, 2:14 PM
Unknown Object (File)
Fri, Aug 28, 8:50 AM
Unknown Object (File)
Fri, Aug 28, 1:49 AM

Details

Summary

Several cleanups in tcp_input_with_port():

  • Don't assign m twice.
  • Don't reassign pointers without having done pullup().
  • While there, change the type of isipv6 to bool, since it is used that way.

No functional change intended.

Reported by: Hannes Elfert

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mon, Aug 24, 10:03 AM

Looks like code improvements to me. I also don't see a functional change.

This revision was automatically updated to reflect the committed changes.