af_unix: Prepare for skb drop reason.
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 0 repliesApplied 12/12
- v115 patches 6 repliesSuperseded
Changes in v2 from the cover letter
* Drop previous patch 4, 7, 14
* Patch 4
* Move send_sig() after SEND_SHUTDOWN check before goto
Patches in v2 All 12 applied
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 net-next 00/12] af_unix: Prepare for skb drop reason.
This is a prep series and cleans up error paths in the following functions
* unix_stream_connect()
* unix_stream_sendmsg()
* unix_dgram_sendmsg()
to make it easy to add skb drop reason for AF_UNIX, which seems to have a potential user.
https://lore.kernel.org/netdev/CAAf2ycmZHti95WaBR3s+L5Epm1q7sXmvZ-EqCK=-oZj=45tOwQ@mail.gmail.com/
Changes:
v2:
* Drop previous patch 4, 7, 14
* Patch 4
* Move send_sig() after SEND_SHUTDOWN check before goto
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (12):
af_unix: Set error only when needed in unix_stream_connect().
af_unix: Clean up error paths in unix_stream_connect().
af_unix: Set error only when needed in unix_stream_sendmsg().
af_unix: Clean up error paths in unix_stream_sendmsg().
af_unix: Set error only when needed in unix_dgram_sendmsg().
af_unix: Move !sunaddr case in unix_dgram_sendmsg().
af_unix: Use msg->{msg_name,msg_namelen} in unix_dgram_sendmsg().
af_unix: Split restart label in unix_dgram_sendmsg().
af_unix: Defer sock_put() to clean up path in unix_dgram_sendmsg().
af_unix: Clean up SOCK_DEAD error paths in unix_dgram_sendmsg().
af_unix: Clean up error paths in unix_dgram_sendmsg().
af_unix: Remove unix_our_peer().
net/unix/af_unix.c | 196 ++++++++++++++++++++++----------------------- 1 file changed, 96 insertions(+), 100 deletions(-)
Signature · 1 line
2.39.5 (Apple Git-154)