diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-13 17:29:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-13 17:29:41 -0400 |
commit | 8e36360ae876995e92d3a7538dda70548e64e685 (patch) | |
tree | d477e086bb35d2de8a6f54b461abeb24be8a4f5b /include/net | |
parent | 22f728f8f311659b068e73ed92833c205651a47f (diff) |
ipv4: Remove route key identity dependencies in ip_rt_get_source().
Pass in the sk_buff so that we can fetch the necessary keys from
the packet header when working with input routes.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h index 9f8070b251fb..ba0e0840370c 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
@@ -189,7 +189,7 @@ extern unsigned inet_addr_type(struct net *net, __be32 addr); | |||
189 | extern unsigned inet_dev_addr_type(struct net *net, const struct net_device *dev, __be32 addr); | 189 | extern unsigned inet_dev_addr_type(struct net *net, const struct net_device *dev, __be32 addr); |
190 | extern void ip_rt_multicast_event(struct in_device *); | 190 | extern void ip_rt_multicast_event(struct in_device *); |
191 | extern int ip_rt_ioctl(struct net *, unsigned int cmd, void __user *arg); | 191 | extern int ip_rt_ioctl(struct net *, unsigned int cmd, void __user *arg); |
192 | extern void ip_rt_get_source(u8 *src, struct rtable *rt); | 192 | extern void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt); |
193 | extern int ip_rt_dump(struct sk_buff *skb, struct netlink_callback *cb); | 193 | extern int ip_rt_dump(struct sk_buff *skb, struct netlink_callback *cb); |
194 | 194 | ||
195 | struct in_ifaddr; | 195 | struct in_ifaddr; |