Skip to content

tcp: honour SO_BINDTODEVICE for TW_RST case too

Florian Westphal netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: add inet_sk_transparent() helperinclude/net/request_sock.h include/net/tcp.h+13 -12 replies
2/3tcp: send_reset: test for non-NULL sk firstnet/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+8 -92 replies
3/3tcp: honour SO_BINDTODEVICE for TW_RST case toonet/ipv4/tcp_ipv4.c net/ipv4/tcp_minisocks.c net/ipv6/tcp_ipv6.c+15 -102 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEric DumazetHannes Frederic Sowa
1/3A-b A-b
2/3A-b A-b
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 -next 0/3] tcp: honour SO_BINDTODEVICE for TW_RST case too

This is V2, this time as a small series since I followed Erics advice to split this into smaller chunks, I hope this makes it easier to review.

First patch adds inet_sk_transparent helper.
Second patch contains an if/else swap that I split from the original TW_RST v1 one.
Third patch is the actual change without the superfluous sock_net change.

Thanks,
Florian