lkml.org 
[lkml]   [1996]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectTiny 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

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.018 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site