HomeFreeBSD

cxgbe tom: Fix jobtotid() compilation.

Description

cxgbe tom: Fix jobtotid() compilation.

The previous commit lost an implicit struct socket * cast. Use an
inline function instead as the macro is already rather long.

Fixes: e1401f75790f cxgbe: use standard sototcpcb() accessor macro to get socket's tcpcb
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on Nov 8 2022, 7:25 PM
Parents
rG326f4556250d: tcp: forward declare struct tcpcb in the TCP logging header
Branches
Unknown
Tags
Unknown