]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: pass correct length to header_ops->create()
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Fri, 9 Mar 2018 17:12:56 +0000 (18:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 18:10:04 +0000 (13:10 -0500)
commitc3237e74da3fa0eee23f222606669c10012cf6ae
tree60dac29cf77b5468ee6c73ca6b1153645506d984
parentaa6c3fb51b20114b443608f71559aea13ddf7890
s390/qeth: pass correct length to header_ops->create()

We need to pass the *payload* length, not the L2 address length.
For qeth (using eth_header()) this is merely a cosmetic change:
the parameter only matters when building headers for ETH_P_802_2
or ETH_P_802_3, whereas our fake headers are built with
ETH_P_IP / ETH_P_IPV6 / 0.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c