Skip to content

Commit

Permalink
appletalk: this warning can go I think
Browse files Browse the repository at this point in the history
Its past 2.2 ...

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alan Cox authored and David S. Miller committed Mar 27, 2009
1 parent 65f71b8 commit 03ba999
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions net/appletalk/ddp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03ba999

Please sign in to comment.