All of lore.kernel.org
 help / color / mirror / Atom feed
* MKISS DRIVER PATCH - for layer 3 longword alignment in m68000
@ 2005-04-24 20:40 Sriram Chadalavada
  2005-04-25 15:56 ` M Taylor
  2005-04-26 13:33 ` M Taylor
  0 siblings, 2 replies; 5+ messages in thread
From: Sriram Chadalavada @ 2005-04-24 20:40 UTC (permalink / raw)
  To: Linux-Hams

 Hi Mr. Albas,
     I am porting AX25 applications/tools to Arcturus
 Networks uCdimm (Motorola MC68VZ328) as part of my
 masters project (www.engr.ku.edu/~kutesat). 
 
 I tried to get TCP/IP applications(uClinux) such as
 FTP, SSH working over an AX.25 link but faced kernel
 panics due to memory alignment issues in the mkiss
 driver, whenever (ICMP, TCP) packets were received
 on the relevant 'kiss' interface.

 In consultation with David McCollough
 (Snapgear/cyberguard.com), I have come up with a
 patch(see attachment) to solve the above problem in
 architectures such as m68000 where alignment issues
 are not handled in hardware. 
 
 The solution lies in increasing skbuf size by 1 and
 aligning the layer 3 header by using
 skb_reserve(skb,1). This approach has been used in
 several ethernet drivers to make them work on these
 architectures.
 
 This change is not yet a part of the mkiss driver
 (2.6.11 kernel). PLease let me know if my patch can
 be incorporated into your driver code. The patched
 driver works on both x86 and m68000.
 
 Kindly reply soon and let me know if you have any
 questions.
 
 Thank you,
 Sriram C.
 (University of Kansas, USA)
 
 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: MKISS DRIVER PATCH - for layer 3 longword alignment in m68000
@ 2005-05-02 19:07 Sriram Chadalavada
  0 siblings, 0 replies; 5+ messages in thread
From: Sriram Chadalavada @ 2005-05-02 19:07 UTC (permalink / raw)
  To: Linux-Hams

Mr. Taylor,
 Thanks for posting the patch.

Jeroen,
  The whitespace changes are indeed not necessary. I
should have perhaps got rid of them. 

Cheers,
Sriram

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-02 19:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-24 20:40 MKISS DRIVER PATCH - for layer 3 longword alignment in m68000 Sriram Chadalavada
2005-04-25 15:56 ` M Taylor
2005-04-26 13:33 ` M Taylor
2005-04-26 14:05   ` Jeroen Vreeken
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02 19:07 Sriram Chadalavada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.