Page MenuHomeFreeBSD

tcp: minor cleanup
ClosedPublic

Authored by tuexen on Mon, Aug 24, 7:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 18, 6:12 PM
Unknown Object (File)
Fri, Sep 18, 4:25 PM
Unknown Object (File)
Fri, Sep 18, 1:14 PM
Unknown Object (File)
Fri, Sep 18, 1:12 PM
Unknown Object (File)
Thu, Sep 17, 10:07 AM
Unknown Object (File)
Tue, Sep 15, 9:56 PM
Unknown Object (File)
Thu, Sep 10, 3:06 PM
Unknown Object (File)
Thu, Sep 10, 10:26 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.