summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@emulex.com>2012-06-24 21:40:55 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-26 01:10:11 +0200
commit89b1f496d2b659eaaac5a8d80b801661ab03854f (patch)
tree80121da7f74d3341b5ecd61c98bd0a7383f74e38 /drivers
parentnet: struct sock cleanups (diff)
downloadlinux-89b1f496d2b659eaaac5a8d80b801661ab03854f.tar.xz
linux-89b1f496d2b659eaaac5a8d80b801661ab03854f.zip
be2net: Explicitly clear the reserved field in the Tx Descriptor
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index cbd245afd8ab..c60782e299db 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -558,6 +558,7 @@ static inline void wrb_fill(struct be_eth_wrb *wrb, u64 addr, int len)
wrb->frag_pa_hi = upper_32_bits(addr);
wrb->frag_pa_lo = addr & 0xFFFFFFFF;
wrb->frag_len = len & ETH_WRB_FRAG_LEN_MASK;
+ wrb->rsvd0 = 0;
}
static inline u16 be_get_tx_vlan_tag(struct be_adapter *adapter,