diff options
author | Patrick McHardy <kaber@trash.net> | 2005-08-10 04:45:02 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-30 00:37:22 +0200 |
commit | d13964f4490157b8a290903362bfbc54f750a6bc (patch) | |
tree | 377297846b513224a30185fb279afd6640e361f5 /include/net/rawv6.h | |
parent | [IPV6]: Check interface bindings on IPv6 raw socket reception (diff) | |
download | linux-d13964f4490157b8a290903362bfbc54f750a6bc.tar.xz linux-d13964f4490157b8a290903362bfbc54f750a6bc.zip |
[IPV4/6]: Check if packet was actually delivered to a raw socket to decide whether to send an ICMP unreachable
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rawv6.h')
-rw-r--r-- | include/net/rawv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/rawv6.h b/include/net/rawv6.h index 887009aa1f88..14476a71725e 100644 --- a/include/net/rawv6.h +++ b/include/net/rawv6.h @@ -7,7 +7,7 @@ extern struct hlist_head raw_v6_htable[RAWV6_HTABLE_SIZE]; extern rwlock_t raw_v6_lock; -extern void ipv6_raw_deliver(struct sk_buff *skb, int nexthdr); +extern int ipv6_raw_deliver(struct sk_buff *skb, int nexthdr); extern struct sock *__raw_v6_lookup(struct sock *sk, unsigned short num, struct in6_addr *loc_addr, struct in6_addr *rmt_addr, |