]> git.baikalelectronics.ru Git - kernel.git/commit
net-sctp: replace some sock_net(sk) with just 'net'
authorMaciej Żenczykowski <maze@google.com>
Mon, 25 Nov 2019 23:09:37 +0000 (15:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Nov 2019 21:18:32 +0000 (13:18 -0800)
commitf7e49abe6fef7effb2d4b76348068610cfffbf6f
tree6dc37c40544f65b26f9e6e20fa83817821f0bfa8
parenta4f27b0f3f480197a45ec2cbc6218a8736360e65
net-sctp: replace some sock_net(sk) with just 'net'

It already existed in part of the function, but move it
to a higher level and use it consistently throughout.

Safe since sk is never written to.

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c