]> git.baikalelectronics.ru Git - kernel.git/commit
qeth: fix page breaks in hw headers
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Mon, 21 Jun 2010 22:57:10 +0000 (22:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jun 2010 20:16:36 +0000 (13:16 -0700)
commit99cc9d8723f0fc57e2ee54eb57dbd5676c0bb5ab
treec2af4e7f534c697f1fc8c14e053f679596a507bf
parentca025209c63ed7bc47d4821f86f18ef05996c1b6
qeth: fix page breaks in hw headers

Turning on memory debugging showed there could be page breaks in
hardware headers. OSA does not allow this so we had to add code
to bounce the header in case there is a page break. This patch also
fixes a problem in case the skb->data part of a fragmented skb
spreads multiple pages.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c