diff options
| author | David S. Miller <davem@davemloft.net> | 2011-05-04 15:18:54 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2011-05-04 15:18:54 -0400 |
| commit | 9a1b9496cd2b013f74885218947fa7120d53e74c (patch) | |
| tree | a48d2fdf14a7445a15a7553ef8b7a8732b5bcac1 /include/linux | |
| parent | dd927a2694ee412b440284dd72dd8e32caada3fc (diff) | |
ipv4: Pass explicit saddr/daddr args to ipmr_get_route().
This eliminates the need to use rt->rt_{src,dst}.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mroute.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mroute.h b/include/linux/mroute.h index b21d567692b..46caaf44339 100644 --- a/include/linux/mroute.h +++ b/include/linux/mroute.h | |||
| @@ -244,6 +244,7 @@ struct mfc_cache { | |||
| 244 | #ifdef __KERNEL__ | 244 | #ifdef __KERNEL__ |
| 245 | struct rtmsg; | 245 | struct rtmsg; |
| 246 | extern int ipmr_get_route(struct net *net, struct sk_buff *skb, | 246 | extern int ipmr_get_route(struct net *net, struct sk_buff *skb, |
| 247 | __be32 saddr, __be32 daddr, | ||
| 247 | struct rtmsg *rtm, int nowait); | 248 | struct rtmsg *rtm, int nowait); |
| 248 | #endif | 249 | #endif |
| 249 | 250 | ||
