aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgbi/libcxgbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/cxgbi/libcxgbi.c')
-rw-r--r--drivers/scsi/cxgbi/libcxgbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c
index be5661707dfa..d2ad3d676724 100644
--- a/drivers/scsi/cxgbi/libcxgbi.c
+++ b/drivers/scsi/cxgbi/libcxgbi.c
@@ -825,7 +825,7 @@ unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *csk, unsigned int pmtu)
825 unsigned int idx; 825 unsigned int idx;
826 struct dst_entry *dst = csk->dst; 826 struct dst_entry *dst = csk->dst;
827 827
828 csk->advmss = dst_metric(dst, RTAX_ADVMSS); 828 csk->advmss = dst_metric_advmss(dst);
829 829
830 if (csk->advmss > pmtu - 40) 830 if (csk->advmss > pmtu - 40)
831 csk->advmss = pmtu - 40; 831 csk->advmss = pmtu - 40;