~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to net/ipv4/netfilter/nf_nat_standalone.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
 
117
117
        switch (ctinfo) {
118
118
        case IP_CT_RELATED:
119
 
        case IP_CT_RELATED+IP_CT_IS_REPLY:
 
119
        case IP_CT_RELATED_REPLY:
120
120
                if (ip_hdr(skb)->protocol == IPPROTO_ICMP) {
121
121
                        if (!nf_nat_icmp_reply_translation(ct, ctinfo,
122
122
                                                           hooknum, skb))
144
144
        default:
145
145
                /* ESTABLISHED */
146
146
                NF_CT_ASSERT(ctinfo == IP_CT_ESTABLISHED ||
147
 
                             ctinfo == (IP_CT_ESTABLISHED+IP_CT_IS_REPLY));
 
147
                             ctinfo == IP_CT_ESTABLISHED_REPLY);
148
148
        }
149
149
 
150
150
        return nf_nat_packet(ct, ctinfo, hooknum, skb);