diff options
author | Venkat Duvvuru <VenkatKumar.Duvvuru@Emulex.com> | 2015-07-10 05:32:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-10 23:24:29 -0700 |
commit | 1645d99768e00d3148ebded5d8c4ab55cdb19a5c (patch) | |
tree | 0983bad27fdb3fd202c58fdb556f5b8cf742b692 /drivers/net/ethernet/emulex/benet/be_cmds.c | |
parent | be2net: fix wrong return value in be_check_ufi_compatibility() (diff) | |
download | linux-dev-1645d99768e00d3148ebded5d8c4ab55cdb19a5c.tar.xz linux-dev-1645d99768e00d3148ebded5d8c4ab55cdb19a5c.zip |
be2net: convert dest field in udp-hdr to host-endian
The "dest" field in the UDP-hdr of a TX skb is in network endian format.
Convert it to host endian before accessing it. The os2bmc patch,
mentioned below introduced this code.
Fixes: 760c295e0e8d ("be2net: Support for OS2BMC")
Signed-off-by: Venkat Duvvuru <VenkatKumar.Duvvuru@Emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_cmds.c')
0 files changed, 0 insertions, 0 deletions