netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPv6: Blackhole route support partial ?
@ 2013-11-11 13:55 Kamala R
  2013-11-11 20:39 ` Hannes Frederic Sowa
  0 siblings, 1 reply; 10+ messages in thread
From: Kamala R @ 2013-11-11 13:55 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel, netdev

Hi,

On adding IPv6 blackhole routes, ICMP unreachable messages are being
sent back to source. According to the definition, packets destined to
a blackhole address must be dropped silently.


I applied the patch submitted to the 3.7 kernel that indicates that it
supports blackhole and prohibit routes correctly. However, the patch
only sets the error code and route type correctly, so the show command
displays the appropriate output.


It seems to me that the input and output function pointers of the dst
variable, which determine packet processing, need to be set to
dst_discard. This would enable correct behaviour for blackhole routes.
Am I on the right path here ?

Thanks and Regards,
Kamala

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-11-20  5:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11 13:55 IPv6: Blackhole route support partial ? Kamala R
2013-11-11 20:39 ` Hannes Frederic Sowa
2013-11-12 11:09   ` Kamala R
2013-11-12 13:54     ` Hannes Frederic Sowa
2013-11-14  8:20       ` Kamala R
2013-11-14 14:11         ` Hannes Frederic Sowa
2013-11-15  9:36           ` Kamala R
2013-11-15 13:48             ` Hannes Frederic Sowa
2013-11-20  4:48               ` Kamala R
2013-11-20  5:24                 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).