diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-17 06:29:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 06:29:28 -0400 |
commit | 6700c2709c08d74ae2c3c29b84a30da012dbc7f1 (patch) | |
tree | 1d44f300ec3cf5f9845fba7a25491e33d666426f /drivers/infiniband/ulp/ipoib | |
parent | 02f3d4ce9e81434a365f4643020b0402f6fe3332 (diff) |
net: Pass optional SKB and SK arguments to dst_ops->{update_pmtu,redirect}()
This will be used so that we can compose a full flow key.
Even though we have a route in this context, we need more. In the
future the routes will be without destination address, source address,
etc. keying. One ipv4 route will cover entire subnets, etc.
In this environment we have to have a way to possess persistent storage
for redirects and PMTU information. This persistent storage will exist
in the FIB tables, and that's why we'll need to be able to rebuild a
full lookup flow key here. Using that flow key will do a fib_lookup()
and create/update the persistent entry.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c index 014504d8e43c..1ca732201f33 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c | |||
@@ -1397,7 +1397,7 @@ void ipoib_cm_skb_too_long(struct net_device *dev, struct sk_buff *skb, | |||
1397 | int e = skb_queue_empty(&priv->cm.skb_queue); | 1397 | int e = skb_queue_empty(&priv->cm.skb_queue); |
1398 | 1398 | ||
1399 | if (skb_dst(skb)) | 1399 | if (skb_dst(skb)) |
1400 | skb_dst(skb)->ops->update_pmtu(skb_dst(skb), mtu); | 1400 | skb_dst(skb)->ops->update_pmtu(skb_dst(skb), NULL, skb, mtu); |
1401 | 1401 | ||
1402 | skb_queue_tail(&priv->cm.skb_queue, skb); | 1402 | skb_queue_tail(&priv->cm.skb_queue, skb); |
1403 | if (e) | 1403 | if (e) |