]> Git Repo - linux.git/blobdiff - security/selinux/netnode.c
dsa: Change dsa_uses_{dsa, trailer}_tags() into inline functions
[linux.git] / security / selinux / netnode.c
index 8b691a8631866905e441c78ac26f569b74840290..86365857c0887b8bd4551c0dc7667c0fba9bf9e2 100644 (file)
@@ -6,7 +6,7 @@
  * needed to reduce the lookup overhead since most of these queries happen on
  * a per-packet basis.
  *
- * Author: Paul Moore <paul.moore@hp.com>
+ * Author: Paul Moore <paul@paul-moore.com>
  *
  * This code is heavily based on the "netif" concept originally developed by
  * James Morris <[email protected]>
@@ -220,7 +220,7 @@ static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid)
        case PF_INET6:
                ret = security_node_sid(PF_INET6,
                                        addr, sizeof(struct in6_addr), sid);
-               ipv6_addr_copy(&new->nsec.addr.ipv6, addr);
+               new->nsec.addr.ipv6 = *(struct in6_addr *)addr;
                break;
        default:
                BUG();
This page took 0.032315 seconds and 4 git commands to generate.