Re: [GIT] DECnet: Fix for big-endian machines

2006-03-10 Thread David S. Miller
From: Patrick Caulfield [EMAIL PROTECTED]
Date: Fri, 10 Feb 2006 10:26:45 +

 The git repository is still correct at
 
 git://git.kernel.org/pub/scm/linux/kernel/git/steve/decnet-2.6.17

I pulled these patches into my net-2.6.17 tree, sorry for
taking so long :-/
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[GIT] DECnet: Fix for big-endian machines

2006-02-10 Thread Patrick Caulfield
Please pull Steve's git repository from

http://git.kernel.org/pub/scm/linux/kernel/git/steve/decnet-2.6.17.git

diffstat:

 include/linux/dn.h |   44 -
 include/net/dn.h   |  105 -
 include/net/dn_dev.h   |   88 +-
 include/net/dn_fib.h   |   22 
 include/net/dn_neigh.h |4 -
 include/net/dn_nsp.h   |   72 ++--
 include/net/dn_route.h |   12 ++--
 include/net/flow.h |8 +--
 net/decnet/af_decnet.c |   18 +++
 net/decnet/dn_dev.c|   34 ++---
 net/decnet/dn_fib.c|8 +--
 net/decnet/dn_neigh.c  |   24 -
 net/decnet/dn_nsp_in.c |   28 +-
 net/decnet/dn_nsp_out.c|   38 +++---
 net/decnet/dn_route.c  |   57 +++---
 net/decnet/dn_rules.c  |   18 +++
 net/decnet/dn_table.c  |   12 ++--
 net/decnet/sysctl_net_decnet.c |   12 ++--
 18 files changed, 303 insertions(+), 301 deletions(-)

The changelogs are:

commit f23c6e3a983757bec46060dca87a1f450ee3e61f
Author: Patrick Caulfield [EMAIL PROTECTED]
Date:   Thu Jan 26 10:01:09 2006 +

[DECnet] Patch to fix recvmsg() flag check

This patch means that 64bit kernel/32bit userland platforms will
now work correctly with DECnet.

Signed-off-by: Patrick Caulfield [EMAIL PROTECTED]
Signed-off-by: Steven Whitehouse [EMAIL PROTECTED]

commit b985479aaeb16dae921566544a480f770d3b0ff5
Author: Steven Whitehouse [EMAIL PROTECTED]
Date:   Sun Jan 15 14:59:49 2006 +

sdn_family in DECnet sockaddr_dn should be in native order

This corrects a bug in the previous patch where sdn_family was
changed to network byte order, as it ought to be in native
byte order.

Signed-off-by: Steven Whitehouse [EMAIL PROTECTED]

commit e1fa0ae3abbbf9cb8411584d0666589593e4936b
Author: Steven Whitehouse [EMAIL PROTECTED]
Date:   Fri Jan 13 21:21:03 2006 +

Endian annotation and fixes for DECnet.

The typedef for dn_address has been removed in favour of using
__le16 or __u16 directly as appropriate. All the DECnet header
files are updated accordingly.

The byte ordering of dn_eth2dn() and dn_dn2eth() are both changed
since just about all their callers wanted network order rather than
host order, so the conversion is now done in the functions themselves.

Several missed endianess conversions have been picked up during the
conversion process. The nh_gw field in struct dn_fib_info has been
changed from a 32 bit field to 16 bits as it ought to be.

One or two cases of using htons rather than dn_htons in the routing code
have been found and fixed.

There are still a few warnings to fix, but this patch deals with the
important cases.

Signed-off-by: Steven Whitehouse [EMAIL PROTECTED]


Thanks,

-- 

patrick
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[GIT] DECnet: Fix for big-endian machines

2006-01-26 Thread Patrick Caulfield
Please pull Steve's git repository from

http://git.kernel.org/pub/scm/linux/kernel/git/steve/decnet-2.6.17.git

diffstat:

 include/linux/dn.h |   44 -
 include/net/dn.h   |  105 -
 include/net/dn_dev.h   |   88 +-
 include/net/dn_fib.h   |   22 
 include/net/dn_neigh.h |4 -
 include/net/dn_nsp.h   |   72 ++--
 include/net/dn_route.h |   12 ++--
 include/net/flow.h |8 +--
 net/decnet/af_decnet.c |   18 +++
 net/decnet/dn_dev.c|   34 ++---
 net/decnet/dn_fib.c|8 +--
 net/decnet/dn_neigh.c  |   24 -
 net/decnet/dn_nsp_in.c |   28 +-
 net/decnet/dn_nsp_out.c|   38 +++---
 net/decnet/dn_route.c  |   57 +++---
 net/decnet/dn_rules.c  |   18 +++
 net/decnet/dn_table.c  |   12 ++--
 net/decnet/sysctl_net_decnet.c |   12 ++--
 18 files changed, 303 insertions(+), 301 deletions(-)

The changelogs are:

commit f23c6e3a983757bec46060dca87a1f450ee3e61f
Author: Patrick Caulfield [EMAIL PROTECTED]
Date:   Thu Jan 26 10:01:09 2006 +

[DECnet] Patch to fix recvmsg() flag check

This patch means that 64bit kernel/32bit userland platforms will
now work correctly with DECnet.

Signed-off-by: Patrick Caulfield [EMAIL PROTECTED]
Signed-off-by: Steven Whitehouse [EMAIL PROTECTED]

commit b985479aaeb16dae921566544a480f770d3b0ff5
Author: Steven Whitehouse [EMAIL PROTECTED]
Date:   Sun Jan 15 14:59:49 2006 +

sdn_family in DECnet sockaddr_dn should be in native order

This corrects a bug in the previous patch where sdn_family was
changed to network byte order, as it ought to be in native
byte order.

Signed-off-by: Steven Whitehouse [EMAIL PROTECTED]
commit e1fa0ae3abbbf9cb8411584d0666589593e4936b
Author: Steven Whitehouse [EMAIL PROTECTED]
Date:   Fri Jan 13 21:21:03 2006 +

Endian annotation and fixes for DECnet.

The typedef for dn_address has been removed in favour of using
__le16 or __u16 directly as appropriate. All the DECnet header
files are updated accordingly.

The byte ordering of dn_eth2dn() and dn_dn2eth() are both changed
since just about all their callers wanted network order rather than
host order, so the conversion is now done in the functions themselves.

Several missed endianess conversions have been picked up during the
conversion process. The nh_gw field in struct dn_fib_info has been
changed from a 32 bit field to 16 bits as it ought to be.

One or two cases of using htons rather than dn_htons in the routing code
have been found and fixed.

There are still a few warnings to fix, but this patch deals with the
important cases.

Signed-off-by: Steven Whitehouse [EMAIL PROTECTED]


Thanks,
-- 

patrick
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html