]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/esp4.c
net: constify struct net_protocol
[net-next-2.6.git] / net / ipv4 / esp4.c
index 18bb383ea39354c52ceb593a78f462d839fba5e4..12f7287e902dcac7614cfb8375c1788e15e006cc 100644 (file)
@@ -615,7 +615,7 @@ static const struct xfrm_type esp_type =
        .output         = esp_output
 };
 
-static struct net_protocol esp4_protocol = {
+static const struct net_protocol esp4_protocol = {
        .handler        =       xfrm4_rcv,
        .err_handler    =       esp4_err,
        .no_policy      =       1,