Changeset 15511


Ignore:
Timestamp:
2009-04-30T16:11:39+02:00 (9 years ago)
Author:
nbd
Message:

refresh the packet socket patch for 2.6.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/patches-2.6.29/240-packet_socket_type.patch

    r15471 r15511  
    9292                goto drop; 
    9393  
    94 @@ -1072,6 +1075,7 @@ static int packet_create(struct net *net 
     94@@ -1073,6 +1076,7 @@ static int packet_create(struct net *net 
    9595        spin_lock_init(&po->bind_lock); 
    9696        mutex_init(&po->pg_vec_lock); 
     
    100100        if (sock->type == SOCK_PACKET) 
    101101                po->prot_hook.func = packet_rcv_spkt; 
    102 @@ -1411,6 +1415,16 @@ packet_setsockopt(struct socket *sock, i 
     102@@ -1413,6 +1417,16 @@ packet_setsockopt(struct socket *sock, i 
    103103                        ret = packet_mc_drop(sk, &mreq); 
    104104                return ret; 
     
    117117 #ifdef CONFIG_PACKET_MMAP 
    118118        case PACKET_RX_RING: 
    119 @@ -1542,6 +1556,13 @@ static int packet_getsockopt(struct sock 
     119@@ -1544,6 +1558,13 @@ static int packet_getsockopt(struct sock 
    120120  
    121121                data = &val; 
Note: See TracChangeset for help on using the changeset viewer.