]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/sctp/constants.h
[SCTP]: Add RCU synchronization around sctp_localaddr_list
[linux-2.6-omap-h63xx.git] / include / net / sctp / constants.h
index 6c632e26f72dfb6e2fb7ebbc3c01ae767efdccd7..bb37724495a55ba425ce503ef4ee2f5b2b06ae34 100644 (file)
@@ -283,7 +283,7 @@ enum { SCTP_MAX_GABS = 16 };
 #define SCTP_RTO_BETA           2   /* 1/4 when converted to right shifts. */
 
 /* Maximum number of new data packets that can be sent in a burst.  */
-#define SCTP_MAX_BURST         4
+#define SCTP_DEFAULT_MAX_BURST         4
 
 #define SCTP_CLOCK_GRANULARITY 1       /* 1 jiffy */
 
@@ -356,7 +356,7 @@ typedef enum {
  * addresses.
  */
 #define IS_IPV4_UNUSABLE_ADDRESS(a) \
-       ((INADDR_BROADCAST == *a) || \
+       ((htonl(INADDR_BROADCAST) == *a) || \
        (MULTICAST(*a)) || \
        (((unsigned char *)(a))[0] == 0) || \
        ((((unsigned char *)(a))[0] == 198) && \