- assign nid/pid all around from better places (e.g. the originating   ifaddr, getpeername(2) instead of from a buffer sent from the client). - error check the nid value sent from the client in HELLO to the server   against what getpeername(2) tells us the client should be. - have new_connection() close the errorneous file descriptor before   returning instead of leaking. - on drop, remove the connection after pulling needed values out of it. - only send one event on drop thru each eq, sending two is kinda dumb. - constify some pointers.
- assign nid/pid all around from better places (e.g. the originating
  ifaddr, getpeername(2) instead of from a buffer sent from the client).
- error check the nid value sent from the client in HELLO to the server
  against what getpeername(2) tells us the client should be.
- have new_connection() close the errorneous file descriptor before
  returning instead of leaking.
- on drop, remove the connection after pulling needed values out of it.
- only send one event on drop thru each eq, sending two is kinda dumb.
- constify some pointers.

TODO: test this patch on ia64<->amd64.



git-svn-id: f2acecaac6fbd5a03f3d4799db58dda434111981@4893 3eda493b-6a19-0410-b2e0-ec8ea4dd8fda

pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/pfl