bnx2x: Adding restriction on sge_buf_size
authorEilon Greenstein <eilong@broadcom.com>
Mon, 9 Mar 2009 00:52:14 +0000 (00:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2009 11:52:01 +0000 (04:52 -0700)
commit916c775ff297dc60219a4f0e5527ba6ab4a88ed4
tree42dd79132bf1e2891641cff65bbbf285288abdfb
parentc0350024723b4a69e38655816484d934aca8eb30
bnx2x: Adding restriction on sge_buf_size

sge_buff_size may not be more than 0xffff.

Reported-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Tested-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c