Pavel Begunkov fe79bd65c8 net/tcp: refactor tcp_inet6_sk()
Don't keep hand coded offset caluclations and replace it with
container_of(). It should be type safer and a bit less confusing.

It also makes it with a macro instead of inline function to preserve
constness, which was previously casted out like in case of
tcp_v6_send_synack().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-22 11:22:58 +01:00
..
2023-05-05 19:12:01 -07:00
2023-05-17 21:27:30 -07:00
2023-04-27 11:53:57 -07:00
2023-02-21 18:24:12 -08:00
2023-05-16 19:50:05 -07:00
2023-05-22 11:22:58 +01:00
2023-03-16 17:34:40 -07:00
2023-05-05 19:12:01 -07:00
2023-05-17 09:56:01 -07:00