netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPv6: Removing unnecessary NULL checks patch causes crash.
@ 2011-11-16  9:51 Matti Vaittinen
  0 siblings, 0 replies; only message in thread
From: Matti Vaittinen @ 2011-11-16  9:51 UTC (permalink / raw)
  To: davem; +Cc: netdev

I left my box to run some test scripts last night with net-next tree where patch
IPv6: Removing unnecessary NULL checks was applied. Crash had occurred when script 
executed "ip route change xxx/128 dev eth0" with non existing target twice 
in a row. (non existing target == there was no previous route to be changed) 

This was not occuring with kernel where only 
IPv6 routing, NLM_F_* flag support: REPLACE and EXCL flags support, warn about missing CREATE flag
and
IPv6 routing, NLM_F_* flag support: warn if new route is created without NLM_F_CREATE
were applied. 

Anyways, I cannot think how info struct could be NULL, so I am a bit
puzzled. Looks like I am missing some piece here. Anyways, somewhere in
these patches is lurking a bug. I try to find the reason. 

Sorry for the trouble.

--Matti

-- 
Matti Vaittinen
+358 504863070
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Told a UDP joke the other night...
...but I'm not sure everyone got it...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-16  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16  9:51 IPv6: Removing unnecessary NULL checks patch causes crash Matti Vaittinen

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).