]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xen-netfront: Avoid unaligned accesses to IP header
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 15 Oct 2008 00:50:42 +0000 (17:50 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 16 Oct 2008 09:11:07 +0000 (05:11 -0400)
commit617a20bbd099040b68f3578a0a1da5e8780d1831
tree28be551ea379012afea820e809591883c47f992e
parent8ab7b66796920e785d27c88fcde1539fa661ae14
xen-netfront: Avoid unaligned accesses to IP header

Align ip header to a 16 byte boundary to avoid unaligned
access like other drivers.
Without this patch, xen-netfront doesn't work well on ia64.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/xen-netfront.c