[Differential] [Updated, 12 lines] D1805: [sockbuf] Don't access fields directly, use accessor functions

davide (Davide Italiano) phabric-noreply at FreeBSD.org
Mon Feb 9 00:04:13 UTC 2015


davide updated this revision to Diff 3698.
davide added a comment.

Updated removing the last place where this was used. I was not certain about it before so I previously left it as-is, but it looks like in this case order doesn't matter considering we're holding the socket buffer lock across the two calls.

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D1805?vs=3695&id=3698

REVISION DETAIL
  https://reviews.freebsd.org/D1805

AFFECTED FILES
  sys/kern/uipc_socket.c

To: davide, kmacy, np, lstewart, rrs, rwatson
Cc: freebsd-net


More information about the freebsd-net mailing list