Skip to contentSkip to conversation

Why doesn't RAW use daddr_cache ?

DISCUSSION Naohiro Ooiwa 2 participants 2 messages Jul 15, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

I have a question about "daddr_cache" in IPv6.

UDP socket uses daddr_cache via p6_sk_dst_lookup()/ip6_dst_store(). But, RAW socket has stopped using it.

I'm afraid of performance degrade in RAW.
Could you please tell me why "daddr_cache" is
deleted in RAW?

Note:
It's deleted by the following patch.
commit 6d3e85ecf22a5e3610df47b9c3fb2fc32cfd35bf
commit 497c615abad7ee81994dd592194535aea2aad617

Regards,
Naohiro Ooiwa

#1 lore raw

What does the BUG() function do in the udp.h (2.6.25.2 kernel)

I´m studying the Linux TCP/IP stack.

What does the BUG() function in the udp.{h,c} (2.6.25.2 kernel) do? Is udp hasing disabled for that kernel version?

Greetings and thanks
Tobias