am f03397fa: Merge changes If5359c26,I5d09be41

* commit 'f03397fad4430742d85579fc7a80224ed6e6fb2a':
  Use a function instead of a macro.
  Mark sockets on accept().