OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 13... | Line 13... | |||
13 | --- |
13 | --- |
|
14 | create mode 100644 net/ipv6/netfilter/nf_flow_table_ipv6.c |
14 | create mode 100644 net/ipv6/netfilter/nf_flow_table_ipv6.c |
|
Line 15... | Line 15... | |||
15 | |
15 | |
|
16 | --- a/include/net/ipv6.h |
16 | --- a/include/net/ipv6.h |
|
17 | +++ b/include/net/ipv6.h |
17 | +++ b/include/net/ipv6.h |
|
18 | @@ -889,6 +889,8 @@ static inline struct sk_buff *ip6_finish |
18 | @@ -918,6 +918,8 @@ static inline struct sk_buff *ip6_finish |
|
19 | &inet6_sk(sk)->cork); |
19 | &inet6_sk(sk)->cork); |
|
Line 20... | Line 20... | |||
20 | } |
20 | } |
|
21 | |
21 | |
|
22 | +unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst); |
22 | +unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst); |
|
23 | + |
23 | + |
|
24 | int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, |
24 | int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, |
|
25 | struct flowi6 *fl6); |
25 | struct flowi6 *fl6); |
|
26 | struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6, |
26 | struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6, |
|
27 | --- a/net/ipv6/ip6_output.c |
27 | --- a/net/ipv6/ip6_output.c |
|
28 | +++ b/net/ipv6/ip6_output.c |
28 | +++ b/net/ipv6/ip6_output.c |
|
29 | @@ -381,7 +381,7 @@ static inline int ip6_forward_finish(str |
29 | @@ -383,7 +383,7 @@ static inline int ip6_forward_finish(str |
|
Line 30... | Line 30... | |||
30 | return dst_output(net, sk, skb); |
30 | return dst_output(net, sk, skb); |
|
31 | } |
31 | } |
|
32 | |
32 | |
|
33 | -static unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) |
33 | -static unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) |
|
34 | +unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) |
34 | +unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) |
|
35 | { |
35 | { |
|
Line 36... | Line 36... | |||
36 | unsigned int mtu; |
36 | unsigned int mtu; |
|
37 | struct inet6_dev *idev; |
37 | struct inet6_dev *idev; |
|
38 | @@ -401,6 +401,7 @@ static unsigned int ip6_dst_mtu_forward( |
38 | @@ -403,6 +403,7 @@ static unsigned int ip6_dst_mtu_forward( |