Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
net
/
ipv4
/
netfilter
/
nf_reject_ipv4.c
diff --git
a/kernel/net/ipv4/netfilter/nf_reject_ipv4.c
b/kernel/net/ipv4/netfilter/nf_reject_ipv4.c
index
3262e41
..
c747b2d
100644
(file)
--- a/
kernel/net/ipv4/netfilter/nf_reject_ipv4.c
+++ b/
kernel/net/ipv4/netfilter/nf_reject_ipv4.c
@@
-99,7
+99,7
@@
void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb,
EXPORT_SYMBOL_GPL(nf_reject_ip_tcphdr_put);
/* Send RST reply */
EXPORT_SYMBOL_GPL(nf_reject_ip_tcphdr_put);
/* Send RST reply */
-void nf_send_reset(struct sk_buff *oldskb, int hook)
+void nf_send_reset(struct
net *net, struct
sk_buff *oldskb, int hook)
{
struct sk_buff *nskb;
const struct iphdr *oiph;
{
struct sk_buff *nskb;
const struct iphdr *oiph;
@@
-129,7
+129,7
@@
void nf_send_reset(struct sk_buff *oldskb, int hook)
ip4_dst_hoplimit(skb_dst(nskb)));
nf_reject_ip_tcphdr_put(nskb, oldskb, oth);
ip4_dst_hoplimit(skb_dst(nskb)));
nf_reject_ip_tcphdr_put(nskb, oldskb, oth);
- if (ip_route_me_harder(nskb, RTN_UNSPEC))
+ if (ip_route_me_harder(n
et, n
skb, RTN_UNSPEC))
goto free_nskb;
/* "Never happens" */
goto free_nskb;
/* "Never happens" */
@@
-157,7
+157,7
@@
void nf_send_reset(struct sk_buff *oldskb, int hook)
dev_queue_xmit(nskb);
} else
#endif
dev_queue_xmit(nskb);
} else
#endif
- ip_local_out(nskb);
+ ip_local_out(n
et, nskb->sk, n
skb);
return;
return;