X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-4.4%2F630-packet_socket_type.patch;fp=target%2Flinux%2Fgeneric%2Fpatches-4.4%2F630-packet_socket_type.patch;h=eb79b2dd37569bdee0c589439dfb1319f3602358;hb=f5b833b8fe9b182d24117139081d7e286092b721;hp=b14afdde6934bb9e3d93bd803e822e974ae7bcff;hpb=1feb166ee7e851435c174fa2c823f97f8cba8c35;p=openwrt%2Fstaging%2Fyousong.git diff --git a/target/linux/generic/patches-4.4/630-packet_socket_type.patch b/target/linux/generic/patches-4.4/630-packet_socket_type.patch index b14afdde69..eb79b2dd37 100644 --- a/target/linux/generic/patches-4.4/630-packet_socket_type.patch +++ b/target/linux/generic/patches-4.4/630-packet_socket_type.patch @@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau if (sock->type == SOCK_PACKET) po->prot_hook.func = packet_rcv_spkt; -@@ -3707,6 +3710,16 @@ packet_setsockopt(struct socket *sock, i +@@ -3713,6 +3716,16 @@ packet_setsockopt(struct socket *sock, i po->xmit = val ? packet_direct_xmit : dev_queue_xmit; return 0; } @@ -108,7 +108,7 @@ Signed-off-by: Felix Fietkau default: return -ENOPROTOOPT; } -@@ -3759,6 +3772,13 @@ static int packet_getsockopt(struct sock +@@ -3765,6 +3778,13 @@ static int packet_getsockopt(struct sock case PACKET_VNET_HDR: val = po->has_vnet_hdr; break;