[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] sdp server/sdp bug

Try this:

$ insmod bt.o
$ sdp_server /etc/sdp.xml /proc/sdp_srv
$ rmmod bt.o
$ insmod bt.o
$ killall sdp_server

And watch your kernel oops. Have I mentioned that I think using proc for
sdp is a bad idea?

The reason we get this particular oops is probably because there's no
module count incrementing/decrementing with proc operations, so we can
just remove/reinstall the module while the sdp is blocked on a read
inside the module.

Instead of /proc/sdp_srv, why not /dev/sdp?


To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com