Revert "Update socket.c"

This reverts commit 0a3618cf7c1fa001de6b82b15bd55b6a36b6c3a1.
Revert "net: socket: error on a negative msg_namelen"

This reverts commit c2c20296ce8e646d20a832534f8e8cd6ad049f51.
Revert "net: clamp ->msg_namelen instead of returning an error"

This reverts commit bd1353745f0b7d4a2993e3171f8b67d677df7f8c.
Revert "net: add BUG_ON if kernel advertises msg_namelen > sizeof(struct sock… …addr_storage)"

This reverts commit 395e82708aa2f7377f654879d2b379e3bb5f2eb9.
Revert "net: heap overflow in __audit_sockaddr() 2"

This reverts commit 49726435e62c79790b026c6fa40ef38375ef38fe.
Revert "net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg 3"

This reverts commit c42bdeabe3281836da44729373bfc5881d309970.