オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/network.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2553 by kumaneko, Sun May 17 08:19:11 2009 UTC revision 2555 by kumaneko, Sun May 17 10:43:37 2009 UTC
# Line 134  static int ccs_update_address_group_entr Line 134  static int ccs_update_address_group_entr
134          group = ccs_get_address_group(group_name);          group = ccs_get_address_group(group_name);
135          if (!group)          if (!group)
136                  return -ENOMEM;                  return -ENOMEM;
137          if (!is_ipv6)          if (is_ipv6) {
138                  goto not_ipv6;                  saved_min_address
139          saved_min_address                          = ccs_get_ipv6_address((struct in6_addr *)
140                  = ccs_get_ipv6_address((struct in6_addr *) min_address);                                                 min_address);
141          saved_max_address                  saved_max_address
142                  = ccs_get_ipv6_address((struct in6_addr *) max_address);                          = ccs_get_ipv6_address((struct in6_addr *)
143          if (!saved_min_address || !saved_max_address)                                                 max_address);
144                  goto out;                  if (!saved_min_address || !saved_max_address)
145   not_ipv6:                          goto out;
146            }
147          if (!is_delete)          if (!is_delete)
148                  entry = kzalloc(sizeof(*entry), GFP_KERNEL);                  entry = kzalloc(sizeof(*entry), GFP_KERNEL);
149          /***** WRITER SECTION START *****/          /***** WRITER SECTION START *****/

Legend:
Removed from v.2553  
changed lines
  Added in v.2555

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26