Messages in this thread Patch in this message |  | | Date | Fri, 15 Nov 1996 17:11:27 +0200 (GMT+0200) | From | Peter K <> | Subject | Tiny af_ipx.c patch |
| |
--- linux/net/ipx/af_ipx.c.orig Thu Nov 14 18:26:18 1996 +++ linux/net/ipx/af_ipx.c Fri Nov 15 17:09:13 1996 @@ -2168,10 +2168,10 @@ ipx = (ipx_packet *)(skb->h.raw); truesize=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet); copied = (truesize > size) ? size : truesize; - err = skb_copy_datagram_iovec(skb,sizeof(struct ipx_packet),msg->msg_iov,copied); + er = skb_copy_datagram_iovec(skb,sizeof(struct ipx_packet),msg->msg_iov,copied); - if (err) - return err; + if (er) + return er; if(sipx) { @@ -2199,7 +2199,6 @@ static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) { - int err; long amount=0; ipx_socket *sk=(ipx_socket *)sock->data;
Peter Kooiman | Voice : +27-12-672-5700/10 Paradigm Systems Technology | Fax : +27-12-663-4191/2 Pretoria, South Africa | Cell : +27-82-651-4985 Box 9984, HENNOPSMEER, 0046, RSA | e-mail : pko@paradigm-sa.com
|  |