Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 322361b3 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller
Browse files

[ATM]: allow bind() on point-to-multpoint svcs (from Martin Whitaker...


[ATM]: allow bind() on point-to-multpoint svcs (from Martin Whitaker <martin_whitaker@ntlworld.com>)

Signed-off-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 43f51fce
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -118,10 +118,6 @@ static int svc_bind(struct socket *sock,struct sockaddr *sockaddr,
		goto out;
	}
	vcc = ATM_SD(sock);
	if (test_bit(ATM_VF_SESSION, &vcc->flags)) {
		error = -EINVAL;
		goto out;
	}
	addr = (struct sockaddr_atmsvc *) sockaddr;
	if (addr->sas_family != AF_ATMSVC) {
		error = -EAFNOSUPPORT;