]> git.ipfire.org Git - thirdparty/qemu.git/commit
net: dgram: move mcast specific code from net_socket_fd_init_dgram()
authorLaurent Vivier <lvivier@redhat.com>
Fri, 21 Oct 2022 09:09:16 +0000 (11:09 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 28 Oct 2022 05:28:52 +0000 (13:28 +0800)
commit8ecc7f40bc76f2a565a74d1e5b2d7462cf050f1d
tree89c874ac90143bbe0c1960c243408dfc83331828
parent7c1f0c33cc9d7436172da0882f088b3cfc8a0733
net: dgram: move mcast specific code from net_socket_fd_init_dgram()

It is less complex to manage special cases directly in
net_dgram_mcast_init() and net_dgram_udp_init().

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/dgram.c