Skip to contentSkip to conversation

appletalk: this warning can go I think

PATCH Applied Alan Cox 2 participants 2 messages Mar 26, 2009 – Mar 27, 2009

Subsystems (2)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 appletalk: this warning can go I think

Its past 2.2 ...

---

 net/appletalk/ddp.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
net/appletalk/ddp.c +1 -5
index 5abce07..3104be8 100644
@@ -1571,14 +1571,10 @@ static int atalk_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr
 		    usat->sat_family != AF_APPLETALK)
 			return -EINVAL;
 
-		/* netatalk doesn't implement this check */
+		/* netatalk didn't implement this check */
 		if (usat->sat_addr.s_node == ATADDR_BCAST &&
 		    !sock_flag(sk, SOCK_BROADCAST)) {
-			printk(KERN_INFO "SO_BROADCAST: Fix your netatalk as "
-					 "it will break before 2.2\n");
-#if 0
 			return -EPERM;
-#endif
 		}
 	} else {
 		if (sk->sk_state != TCP_ESTABLISHED)