ipv4: Pass flow key down into ip_append_*().
This way rt->rt_dst accesses are unnecessary. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
77968b7824
commit
f5fca60865
5 changed files with 21 additions and 17 deletions
|
@ -106,7 +106,7 @@ extern int __ip_local_out(struct sk_buff *skb);
|
|||
extern int ip_local_out(struct sk_buff *skb);
|
||||
extern int ip_queue_xmit(struct sk_buff *skb, struct flowi *fl);
|
||||
extern void ip_init(void);
|
||||
extern int ip_append_data(struct sock *sk,
|
||||
extern int ip_append_data(struct sock *sk, struct flowi4 *fl4,
|
||||
int getfrag(void *from, char *to, int offset, int len,
|
||||
int odd, struct sk_buff *skb),
|
||||
void *from, int len, int protolen,
|
||||
|
@ -114,7 +114,7 @@ extern int ip_append_data(struct sock *sk,
|
|||
struct rtable **rt,
|
||||
unsigned int flags);
|
||||
extern int ip_generic_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb);
|
||||
extern ssize_t ip_append_page(struct sock *sk, struct page *page,
|
||||
extern ssize_t ip_append_page(struct sock *sk, struct flowi4 *fl4, struct page *page,
|
||||
int offset, size_t size, int flags);
|
||||
extern struct sk_buff *__ip_make_skb(struct sock *sk,
|
||||
struct flowi4 *fl4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue